fix bash thing
This commit is contained in:
parent
5db4e9a491
commit
08c96b0df7
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish-new.yml
vendored
4
.github/workflows/publish-new.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue