Skip to content

Commit ab01420

Browse files
feat: build for release
1 parent f24efad commit ab01420

File tree

22 files changed

+203
-108
lines changed

22 files changed

+203
-108
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":"a99fa2c419ae6c8f1fc39535cdcd9dc47cb4bbae","ref":"refs/tags/test/v6.1.1.262130725","tagName":"test/v6.1.1.262130725","branch":"gh-actions","tags":["test/v6.1.1.262130725","test/v6.1.1","test/v6.1","test/v6"],"updated_at":"2020-09-19T03:03:53.822Z"}
1+
{"owner":"technote-space","repo":"release-github-actions","sha":"FETCH_HEAD","ref":"refs/heads/master","tagName":"test/v6.1.1","branch":"gh-actions","tags":["test/v6.1.1","test/v6.1","test/v6"],"updated_at":"2020-09-20T18:59:24.360Z"}

lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ const core_1 = require("@actions/core");
1414
const context_1 = require("@actions/github/lib/context");
1515
const filter_github_action_1 = require("@technote-space/filter-github-action");
1616
const github_action_helper_1 = require("@technote-space/github-action-helper");
17+
const github_action_log_helper_1 = require("@technote-space/github-action-log-helper");
1718
const command_1 = require("./utils/command");
1819
const constant_1 = require("./constant");
1920
const run = () => __awaiter(void 0, void 0, void 0, function* () {
20-
const logger = new github_action_helper_1.Logger();
21+
const logger = new github_action_log_helper_1.Logger();
2122
const context = new context_1.Context();
2223
github_action_helper_1.ContextHelper.showActionInfo(path_1.resolve(__dirname, '..'), logger, context);
2324
if (!filter_github_action_1.isTargetEvent(constant_1.TARGET_EVENTS, context)) {

lib/utils/command.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ exports.deploy = exports.prepareCommit = exports.copyFiles = exports.updateRelea
1313
const fs_1 = require("fs");
1414
const path_1 = require("path");
1515
const github_action_helper_1 = require("@technote-space/github-action-helper");
16+
const github_action_log_helper_1 = require("@technote-space/github-action-log-helper");
1617
const misc_1 = require("./misc");
1718
exports.replaceDirectory = (context) => (message) => {
1819
const directories = misc_1.getReplaceDirectory(context);
@@ -157,7 +158,7 @@ const executeCommit = (release, logger, helper, octokit, context) => __awaiter(v
157158
return true;
158159
});
159160
exports.deploy = (octokit, context) => __awaiter(void 0, void 0, void 0, function* () {
160-
const logger = new github_action_helper_1.Logger(exports.replaceDirectory(context));
161+
const logger = new github_action_log_helper_1.Logger(exports.replaceDirectory(context));
161162
const command = new github_action_helper_1.Command(logger);
162163
const { branchName } = misc_1.getParams(context);
163164
logger.startProcess('Deploying branch %s to %s...', branchName, github_action_helper_1.ContextHelper.getRepository(context));

node_modules/.yarn-integrity

Lines changed: 16 additions & 13 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/README.ja.md

Lines changed: 18 additions & 35 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/README.md

Lines changed: 16 additions & 34 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: 1 addition & 1 deletion
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/command.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)