Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e9a82c8

Browse files
committedFeb 17, 2025··
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)
Please sign in to comment.