Skip to content

Commit 75a72da

Browse files
feat: Build for release
1 parent 0d09d45 commit 75a72da

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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":"c5b22c044c1bda7751d43a0cf4e00925cb2d182d","ref":"refs/tags/test/v2.0.1","tagName":"test/v2.0.1","branch":"gh-actions","tags":["test/v2","test/v2.0","test/v2.0.1"],"updated_at":"2019-12-09T17:14:58.736Z"}
1+
{"owner":"technote-space","repo":"release-github-actions","sha":"d799e6772fbb331fef1e58990674b6defa1769ea","ref":"refs/tags/test/v2.0.1.1","tagName":"test/v2.0.1.1","branch":"gh-actions","tags":["test/v2","test/v2.0","test/v2.0.1","test/v2.0.1.1"],"updated_at":"2019-12-09T17:24:17.865Z"}

lib/utils/command.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ exports.push = (context) => __awaiter(void 0, void 0, void 0, function* () {
113113
yield helper.copyTag(pushDir, originalTag, tagName, context);
114114
}
115115
const tagNames = misc_1.getCreateTags(tagName);
116-
yield exports.deleteTestTags(context);
117116
yield helper.fetchTags(pushDir, context);
118-
yield helper.deleteTag(pushDir, tagNames, context);
117+
yield exports.deleteTestTags(context);
118+
// eslint-disable-next-line no-magic-numbers
119+
yield helper.deleteTag(pushDir, tagNames, context, 1);
119120
yield helper.addLocalTag(pushDir, tagNames);
120121
yield helper.push(pushDir, branchName, true, context);
121122
});

0 commit comments

Comments
 (0)