better error message in publish-new.yml

This commit is contained in:
David Sheldrick 2024-02-29 13:55:54 +00:00
parent e796119098
commit bd03f5b7dd

View file

@ -30,7 +30,7 @@ jobs:
- name: Check inputs
run: |
if [[ "${{ inputs.bump_type }}" != "override" ]] && ! [[ -z "${{ inputs.version_override }}" ]]; then
echo "Bump type ${{ inputs.bump_type }} and version override cannot be set simultaneously"
echo "ERROR You must set the Bump Type to 'override' if you supply a custom version number override."
exit 1
fi
- name: Generate GH token