aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-11-07 21:38:14 +0100
committerGitHub <noreply@github.com>2022-11-07 21:38:14 +0100
commit177d353f50526bdb87f94e2a2a05063a7a0a5559 (patch)
tree51e9e923d924f9edb061a01e09974a1c277b1419 /.github/workflows/build.yml
parenta13c0df1cdab5476b21aa8c0ec04f3778fe21e11 (diff)
downloadVencord-177d353f50526bdb87f94e2a2a05063a7a0a5559.tar.gz
Vencord-177d353f50526bdb87f94e2a2a05063a7a0a5559.tar.bz2
Vencord-177d353f50526bdb87f94e2a2a05063a7a0a5559.zip
Rename DevBuild releases to include git hash
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e3bb3bf..edcc2df 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -36,7 +36,15 @@ jobs:
- name: Build
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
- run: gh release upload devbuild --clobber dist/*
+ run: |
+ gh release upload devbuild --clobber dist/*
+ gh release edit devbuild --title "DevBuild $RELEASE_TAG"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ RELEASE_TAG: ${{ env.release_tag }}