Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e9a82c8

Browse files
committed
feat: add support for manual version bumping
1 parent 5bf62b0 commit e9a82c8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎action.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,6 @@ inputs:
103103
actor:
104104
description: "The account that will be used to perform git operations, defaults to the GITHUB_ACTOR"
105105
required: false
106+
manual_version:
107+
description: "Manually specify the version to bump to"
108+
required: false

‎entrypoint.sh‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ fi
7979
if [[ $INPUT_GIT_REDIRECT_STDERR == 'true' ]]; then
8080
CZ_CMD+=('--git-output-to-stderr')
8181
fi
82+
if [[ $INPUT_MANUAL_VERSION ]]; then
83+
CZ_CMD+=("$INPUT_MANUAL_VERSION")
84+
fi
8285
if [[ $INPUT_CHANGELOG_INCREMENT_FILENAME ]]; then
8386
CZ_CMD+=('--changelog-to-stdout')
8487
echo "${CZ_CMD[@]}" ">$INPUT_CHANGELOG_INCREMENT_FILENAME"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /