fix: git tag

This commit is contained in:
Peter Njeim 2022-05-21 01:19:07 -03:00
parent 8d94b612e6
commit cd9cb6cc71

View File

@ -658,8 +658,9 @@ jobs:
- name: Compress - name: Compress
run: | run: |
zip -qrv ${{ env.artifact_name }}.zip ./${{ matrix.arch }}/* zip -qrv ${{ env.artifact_name }}.zip ./${{ matrix.arch }}/*
git_hash=$(git rev-parse --short "$GITHUB_SHA")
- name: Upload WSA - name: Upload WSA
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: ./${{ env.artifact_name }}.zip files: ./${{ env.artifact_name }}.zip
tag_name: ./${{ env.artifact_name }} tag_name: $git_hash