pull/3003/head
David Sheldrick 2024-02-29 13:32:28 +00:00
rodzic 5db4e9a491
commit 08c96b0df7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -29,7 +29,7 @@ jobs:
steps:
- name: Check inputs
run: |
if [ ${{ inputs.bump_type }} != 'override' ] && [ ${{ inputs.version_override }} != '' ]; then
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 }}
@ -57,7 +57,7 @@ jobs:
run: |
git config --global user.name 'huppy-bot[bot]'
git config --global user.email '128400622+huppy-bot[bot]@users.noreply.github.com'
if [ ${{ inputs.bump_type }} == 'override' ]; then
if [[ "${{ inputs.bump_type }}" == "override" ]]; then
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.version_override }}
else
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}