Skip to content

Commit

Permalink
Maybe fix tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiriVulpes committed Jul 25, 2023
1 parent a6f437c commit 9639c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9639c06

Please sign in to comment.