fix: short tag name

This commit is contained in:
Peter Njeim 2022-05-21 01:44:53 -03:00
parent eb1c46d02c
commit aecebe7f78

View File

@ -658,9 +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=${GITHUB_SHA:0:7} echo "git_hash=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
- 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: $git_hash tag_name: ${{ env.git_hash }}