Rename DevBuild releases to include git hash

This commit is contained in:
Ven 2022-11-07 21:38:14 +01:00 committed by GitHub
parent a13c0df1cd
commit 177d353f50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,15 @@ jobs:
- name: Build - name: Build
run: pnpm build --standalone run: pnpm build --standalone
- name: Get some values needed for the release
id: release_values
run: |
echo "release_tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Upload Devbuild - name: Upload Devbuild
run: gh release upload devbuild --clobber dist/* run: |
gh release upload devbuild --clobber dist/*
gh release edit devbuild --title "DevBuild $RELEASE_TAG"
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ env.release_tag }}