diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 390e65f..9da99dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git tag -a ${{ github.event.inputs.release-type == 'Pre-release' && steps.build.outputs.name || steps.build.outputs.version }} -m "Magic Translator v${{ steps.build.outputs.version }} ${{ github.event.inputs.release-type == 'Pre-release' && '[${{ steps.build.outputs.commit }}]' }}" + git tag -a ${{ github.event.inputs.release-type == 'Pre-release' && steps.build.outputs.name || steps.build.outputs.version }} -m "Magic Translator v${{ steps.build.outputs.version }} ${{ github.event.inputs.release-type == 'Pre-release' && '[' || '' }}${{ github.event.inputs.release-type == 'Pre-release' && steps.build.outputs.commit || '' }}${{ github.event.inputs.release-type == 'Pre-release' && ']' || '' }}" git push origin ${{ github.event.inputs.release-type == 'Pre-release' && steps.build.outputs.name || steps.build.outputs.version }} - name: Create Release