Skip to content

Commit 1c4aa9a

Browse files
feat: Build for release
1 parent fe3d427 commit 1c4aa9a

File tree

141 files changed

+55500
-4864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+55500
-4864
lines changed

README.ja.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
*Read this in other languages: [English](README.md), [日本語](README.ja.md).*
99

10-
これは GitHub Action のリリースを自動化するための GitHub Action です。
10+
これは `GitHub Actions` のリリースを自動化するための `GitHub Actions` です。
1111
タグを作成するとこのアクションは自動で以下を行います。
1212
1. ビルド実行
1313
1. リリース用ブランチ作成
@@ -51,10 +51,10 @@
5151
![Before publish release](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-1.png)
5252
1. リリースを作成 (タグを作成)
5353
![Publish release](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-2.png)
54-
1. GitHub Action 実行中
55-
![Running GitHub Action](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-3.png)
56-
1. GitHub Action 実行後
57-
![After running GitHub Action](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-4.png)
54+
1. GitHub Actions 実行中
55+
![Running GitHub Actions](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-3.png)
56+
1. GitHub Actions 実行後
57+
![After running GitHub Actions](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-4.png)
5858

5959
## インストール
6060
1. workflow を設定
@@ -107,7 +107,7 @@ default: `'GitHub Actions'`
107107
default: `'[email protected]'`
108108

109109
### BRANCH_NAME
110-
GitHub Action 用のブランチ名
110+
GitHub Actions 用のブランチ名
111111
default: `'gh-actions'`
112112

113113
### CLEAN_TARGETS
@@ -181,8 +181,8 @@ default: `''`
181181
- [テストタグ](#test_tag_prefix) (例:`test/v1.2.3`)
182182

183183
## 動機
184-
`GitHub Action`をリリースするには、すべてのビルドファイルと `node_modules` のような依存関係が必要ですが、通常はそれらをコミットしません。
185-
したがって`GitHub Action`リリースする際には以下のような手順が必要です。
184+
`GitHub Actions`をリリースするには、すべてのビルドファイルと `node_modules` のような依存関係が必要ですが、通常はそれらをコミットしません。
185+
したがって`GitHub Actions`リリースする際には以下のような手順が必要です。
186186
1. ローカルの開発用ブランチで開発
187187
1. リリース用にビルド
188188
1. `node_modules` のような依存モジュールを含めて必要なソースをリリース用ブランチにコミット
@@ -192,7 +192,7 @@ default: `''`
192192

193193
リリースの度にこれらの手順を実行するのはとても面倒です。
194194

195-
この `GitHub Action` を使用することで手順は単純になります。
195+
この `GitHub Actions` を使用することで手順は単純になります。
196196
1. ローカルの開発用ブランチで開発
197197
1. リリースを作成 (タグを作成)
198198
1. 自動化された手順が完了するのを待つ

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
*Read this in other languages: [English](README.md), [日本語](README.ja.md).*
99

10-
This is a `GitHub Action` that automates the release of `GitHub Action`.
10+
This is a `GitHub Actions` that automates the release of `GitHub Actions`.
1111
Once you create a new tag, this action will automatically
1212
1. Run build
1313
1. Create branch for release
@@ -51,10 +51,10 @@ Once you create a new tag, this action will automatically
5151
![Before publish release](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-1.png)
5252
1. Publish release (Create tag)
5353
![Publish release](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-2.png)
54-
1. Running `GitHub Action`
55-
![Running GitHub Action](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-3.png)
56-
1. After running `GitHub Action`
57-
![After running GitHub Action](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-4.png)
54+
1. Running `GitHub Actions`
55+
![Running GitHub Actions](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-3.png)
56+
1. After running `GitHub Actions`
57+
![After running GitHub Actions](https://raw.githubusercontent.com/technote-space/release-github-actions/images/screenshot-4.png)
5858

5959
## Installation
6060
1. Setup workflow
@@ -108,7 +108,7 @@ Commit email.
108108
default: `'[email protected]'`
109109

110110
### BRANCH_NAME
111-
Branch name for `GitHub Action` release.
111+
Branch name for `GitHub Actions` release.
112112
default: `'gh-actions'`
113113

114114
### CLEAN_TARGETS
@@ -182,8 +182,8 @@ e.g. `'original/'`
182182
- [test tag](#test_tag_prefix) (e.g. `test/v1.2.3`)
183183

184184
## Motivation
185-
Releasing `GitHub Action` needs all build files and dependencies like `node_modules`, but are not usually committed.
186-
So if you want to release `GitHub Action`, you have to do following steps.
185+
Releasing `GitHub Actions` needs all build files and dependencies like `node_modules`, but are not usually committed.
186+
So if you want to release `GitHub Actions`, you have to do following steps.
187187
1. Develop locally on the branch for develop
188188
1. Build for release
189189
1. Commit all source code including dependencies like `node_modules` to branch for release
@@ -193,7 +193,7 @@ So if you want to release `GitHub Action`, you have to do following steps.
193193

194194
It is very troublesome to do this steps for every release.
195195

196-
If you use this `GitHub Action`, the steps to do are simpler.
196+
If you use this `GitHub Actions`, the steps to do are simpler.
197197
1. Develop locally on the branch for develop
198198
1. Publish release (Create tag)
199199
1. Wait for the automated steps to finish

build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"tagName":"v1.6.6","branch":"gh-actions","tags":["v1","v1.6","v1.6.6"],"updated_at":"2019-10-20T09:31:15.631Z"}
1+
{"tagName":"test/v1.6.7","branch":"gh-actions","tags":["test/v1","test/v1.6","test/v1.6.7"],"updated_at":"2019-10-28T15:58:53.178Z"}

lib/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ function run() {
3434
return;
3535
}
3636
const directories = misc_1.getReplaceDirectory();
37+
logger.startProcess('Replacement');
3738
Object.keys(directories).forEach(directory => logger.info('%s: %s', directories[directory], directory));
3839
yield command_1.deploy(new github_1.GitHub(core_1.getInput('GITHUB_TOKEN', { required: true })), github_1.context);
3940
}

0 commit comments

Comments
 (0)