kopia lustrzana https://github.com/Tldraw/Tldraw
fix bash thing
rodzic
5db4e9a491
commit
08c96b0df7
|
@ -29,7 +29,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check inputs
|
- name: Check inputs
|
||||||
run: |
|
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 }}
|
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.version_override }}
|
||||||
else
|
else
|
||||||
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
|
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'huppy-bot[bot]'
|
git config --global user.name 'huppy-bot[bot]'
|
||||||
git config --global user.email '128400622+huppy-bot[bot]@users.noreply.github.com'
|
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 }}
|
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.version_override }}
|
||||||
else
|
else
|
||||||
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
|
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
|
||||||
|
|
Ładowanie…
Reference in New Issue