Skip to content

Commit 13f0382

Browse files
feat: Build for release
1 parent 45026d1 commit 13f0382

File tree

7 files changed

+34
-17
lines changed

7 files changed

+34
-17
lines changed

README.ja.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@ https://github.com/technote-space/release-github-actions/tree/gh-actions
238238

239239
## このアクションを使用しているアクションの例
240240
- [Release GitHub Actions](https://github.com/technote-space/release-github-actions)
241-
- [released.yml](https://github.com/technote-space/release-github-actions/blob/master/.github/workflows/released.yml)
241+
- [release.yml](https://github.com/technote-space/release-github-actions/blob/master/.github/workflows/release.yml)
242242
- [Auto card labeler](https://github.com/technote-space/auto-card-labeler)
243-
- [released.yml](https://github.com/technote-space/auto-card-labeler/blob/master/.github/workflows/released.yml)
243+
- [release.yml](https://github.com/technote-space/auto-card-labeler/blob/master/.github/workflows/release.yml)
244244
- [Assign Author](https://github.com/technote-space/assign-author)
245-
- [released.yml](https://github.com/technote-space/assign-author/blob/master/.github/workflows/released.yml)
245+
- [release.yml](https://github.com/technote-space/assign-author/blob/master/.github/workflows/release.yml)
246246
- [TOC Generator](https://github.com/technote-space/toc-generator)
247-
- [released.yml](https://github.com/technote-space/toc-generator/blob/master/.github/workflows/released.yml)
247+
- [release.yml](https://github.com/technote-space/toc-generator/blob/master/.github/workflows/release.yml)
248248
- [Package Version Check Action](https://github.com/technote-space/package-version-check-action)
249-
- [released.yml](https://github.com/technote-space/package-version-check-action/blob/master/.github/workflows/released.yml)
249+
- [release.yml](https://github.com/technote-space/package-version-check-action/blob/master/.github/workflows/release.yml)
250250

251251
## Author
252252
[GitHub (Technote)](https://github.com/technote-space)

action.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,51 +11,67 @@ inputs:
1111
PACKAGE_MANAGER:
1212
description: Package manager to use to install dependencies.
1313
default: ''
14+
required: false
1415
BUILD_COMMAND:
1516
description: Commands to build.
1617
default: ''
18+
required: false
1719
COMMIT_MESSAGE:
1820
description: Commit message of build commit.
1921
default: 'feat: Build for release'
22+
required: true
2023
COMMIT_NAME:
2124
description: Git commit name.
2225
default: 'github-actions[bot]'
26+
required: true
2327
COMMIT_EMAIL:
2428
description: Git commit email.
2529
default: '41898282+github-actions[bot]@users.noreply.github.com'
30+
required: true
2631
BRANCH_NAME:
2732
description: Branch name.
2833
default: 'gh-actions'
34+
required: true
2935
CLEAN_TARGETS:
3036
description: Files or directories to clean before release. (Comma separated)
3137
default: '.[!.]*,__tests__,src,*.js,*.ts,*.json,*.lock,_config.yml'
38+
required: true
3239
BUILD_COMMAND_TARGET:
3340
description: Command for search build command.
3441
default: ''
42+
required: false
3543
CREATE_MAJOR_VERSION_TAG:
3644
description: Whether to create major version tag.
37-
default: true
45+
default: 'true'
46+
required: false
3847
CREATE_MINOR_VERSION_TAG:
3948
description: Whether to create minor version tag.
40-
default: true
49+
default: 'true'
50+
required: false
4151
CREATE_PATCH_VERSION_TAG:
4252
description: Whether to create patch version tag.
43-
default: true
53+
default: 'true'
54+
required: false
4455
OUTPUT_BUILD_INFO_FILENAME:
4556
description: Filename of build information.
4657
default: ''
58+
required: false
4759
FETCH_DEPTH:
4860
description: Limit fetching to the specified number of commits from the tip of each remote branch history.
4961
default: '3'
62+
required: false
5063
TEST_TAG_PREFIX:
5164
description: Tag name prefix for test.
5265
default: ''
66+
required: false
5367
CLEAN_TEST_TAG:
5468
description: Whether to clean test tag.
55-
default: false
69+
default: 'false'
70+
required: false
5671
ORIGINAL_TAG_PREFIX:
5772
description: Tag name prefix for original tag.
5873
default: ''
74+
required: false
5975

6076
branding:
6177
icon: 'tag'

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":"917eeb86a1960a04901bf92932a1329bf20d1a02","ref":"refs/tags/v2.0.5","tagName":"v2.0.5","branch":"gh-actions","tags":["v2","v2.0","v2.0.5"],"updated_at":"2020-01-15T15:34:22.539Z"}
1+
{"owner":"technote-space","repo":"release-github-actions","sha":"1790739c919f14ceaee23de3728e21a259f1e41c","ref":"refs/tags/test/v2.0.6","tagName":"test/v2.0.6","branch":"gh-actions","tags":["test/v2","test/v2.0","test/v2.0.6"],"updated_at":"2020-01-16T16:32:31.927Z"}

node_modules/.yarn-integrity

Lines changed: 3 additions & 3 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/git-helper.js

Lines changed: 1 addition & 0 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/logger.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/package.json

Lines changed: 3 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)