fix error logging in publish-now.yml
This commit is contained in:
parent
08c96b0df7
commit
e796119098
1 changed files with 2 additions and 3 deletions
5
.github/workflows/publish-new.yml
vendored
5
.github/workflows/publish-new.yml
vendored
|
@ -30,9 +30,8 @@ jobs:
|
||||||
- name: Check inputs
|
- name: Check inputs
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ inputs.bump_type }}" != "override" ]] && ! [[ -z "${{ inputs.version_override }}" ]]; then
|
if [[ "${{ inputs.bump_type }}" != "override" ]] && ! [[ -z "${{ inputs.version_override }}" ]]; then
|
||||||
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.version_override }}
|
echo "Bump type ${{ inputs.bump_type }} and version override cannot be set simultaneously"
|
||||||
else
|
exit 1
|
||||||
yarn tsx ./scripts/publish-new.ts --bump ${{ inputs.bump_type }}
|
|
||||||
fi
|
fi
|
||||||
- name: Generate GH token
|
- name: Generate GH token
|
||||||
id: generate_token
|
id: generate_token
|
||||||
|
|
Loading…
Reference in a new issue