diff --git a/action.yml b/action.yml index f2f540c..a817f96 100644 --- a/action.yml +++ b/action.yml @@ -103,3 +103,6 @@ inputs: actor: description: "The account that will be used to perform git operations, defaults to the GITHUB_ACTOR" required: false + manual_version: + description: "Manually specify the version to bump to" + required: false diff --git a/entrypoint.sh b/entrypoint.sh index 67c9c7e..40850ff 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -79,6 +79,9 @@ fi if [[ $INPUT_GIT_REDIRECT_STDERR == 'true' ]]; then CZ_CMD+=('--git-output-to-stderr') fi +if [[ $INPUT_MANUAL_VERSION ]]; then + CZ_CMD+=("$INPUT_MANUAL_VERSION") +fi if [[ $INPUT_CHANGELOG_INCREMENT_FILENAME ]]; then CZ_CMD+=('--changelog-to-stdout') echo "${CZ_CMD[@]}" ">$INPUT_CHANGELOG_INCREMENT_FILENAME"