Skip to content

Commit ffc9fbb

Browse files
feat: Build for release
1 parent 263a8f1 commit ffc9fbb

File tree

15 files changed

+214
-183
lines changed

15 files changed

+214
-183
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Once you create a new tag, this action will automatically
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Release GitHub Actions
81-
uses: technote-space/release-github-actions@v2
81+
uses: technote-space/release-github-actions@v3
8282
with:
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8484
```

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"owner":"technote-space","repo":"release-github-actions","sha":"58d4d93af8276564b8b02295dd8d1852fd31f2dd","ref":"refs/tags/v3.0.0","tagName":"v3.0.0","branch":"gh-actions","tags":["v3.0.0","v3.0","v3"],"updated_at":"2020-02-07T03:54:50.513Z"}
1+
{"owner":"technote-space","repo":"release-github-actions","sha":"FETCH_HEAD","ref":"refs/heads/release/v3.0.1","tagName":"test/v3.0.1","branch":"gh-actions","tags":["test/v3.0.1","test/v3.0","test/v3"],"updated_at":"2020-02-11T08:27:09.666Z"}

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ function run() {
3434
yield command_1.deploy(github_action_helper_1.Utils.getOctokit(), context);
3535
});
3636
}
37-
run().catch(error => { console.log(error); core_1.setFailed(error.message); });
37+
run().catch(error => core_1.setFailed(error.message));

lib/utils/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ exports.push = (helper, context) => __awaiter(void 0, void 0, void 0, function*
119119
// eslint-disable-next-line no-magic-numbers
120120
yield helper.deleteTag(pushDir, tagNames, context, 1);
121121
yield helper.addLocalTag(pushDir, tagNames);
122-
yield helper.push(pushDir, branchName, true, context);
122+
yield helper.push(pushDir, branchName, context, { withTag: true });
123123
});
124124
const findRelease = (octokit, context) => __awaiter(void 0, void 0, void 0, function* () {
125125
const tagName = getTagName(context);

lib/utils/misc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ exports.getBuildCommands = (buildDir, pushDir) => {
100100
commands.push(...exports.getBackupCommands(buildDir, pushDir));
101101
commands.push(...exports.getClearFilesCommands(getCleanTargets()));
102102
commands.push(...exports.getRestoreBackupCommands(buildDir, pushDir));
103-
console.log(commands);
104103
return commands;
105104
};
106105
exports.getCommitMessage = () => core_1.getInput('COMMIT_MESSAGE') || constant_1.DEFAULT_COMMIT_MESSAGE;

node_modules/.yarn-integrity

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@technote-space/github-action-helper/dist/api-helper.d.ts

Lines changed: 14 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)