diff --git a/action.yml b/action.yml index d3e5d16..d733dc1 100644 --- a/action.yml +++ b/action.yml @@ -30,6 +30,13 @@ inputs: prerelease: description: 'Set as prerelease version' required: false + devrelease: + description: 'Non-negative integer for dev. release' + required: false + local_version: + description: 'Bump only the local version portion' + required: false + default: "false" changelog: description: 'Create changelog when bumping the version' default: "true" diff --git a/entrypoint.sh b/entrypoint.sh index 8a6a7d7..0bc9931 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -56,6 +56,12 @@ fi if [[ $INPUT_PRERELEASE ]]; then CZ_CMD+=('--prerelease' "$INPUT_PRERELEASE") fi +if [[ $INPUT_DEVRELEASE ]]; then + CZ_CMD+=('--devrelease' "$INPUT_DEVRELEASE") +fi +if [[ $INPUT_LOCAL_VERSION == 'true' ]]; then + CZ_CMD+=('--local_version') +fi if [[ $INPUT_COMMIT == 'false' ]]; then CZ_CMD+=('--files-only') fi