fix: tag name

This commit is contained in:
Peter Njeim 2022-05-21 01:31:39 -03:00
parent cd9cb6cc71
commit 75337b85e8

View File

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