fix error logging in publish-now.yml

pull/3003/head
David Sheldrick 2024-02-29 13:49:30 +00:00
rodzic 08c96b0df7
commit e796119098
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -30,9 +30,8 @@ jobs:
- name: Check inputs
run: |
if [[ "${{ inputs.bump_type }}" != "override" ]] && ! [[ -z "${{ inputs.version_override }}" ]]; then
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.version_override }}
else
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
echo "Bump type ${{ inputs.bump_type }} and version override cannot be set simultaneously"
exit 1
fi
- name: Generate GH token
id: generate_token