From fa598cb0da1e0fee78ee3fa0dc24e89d7d0c1172 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sun, 10 Dec 2023 01:29:33 -0500 Subject: [PATCH] Update tauri.yml --- .github/workflows/tauri.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index d548b5b..b7610a9 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -31,12 +31,16 @@ jobs: sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsoup-3.0-dev libjavascriptcoregtk-4.1-dev - name: Install Frontend Dependencies run: pnpm i + - name: Get Short Commit SHA + run: | + echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV" + echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> "$GITHUB_ENV" - uses: tauri-apps/tauri-action@v0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tagName: spacebar-v__VERSION__ - releaseName: "Spacebar Client v__VERSION__" + tagName: client-v${{ env.branch }}_${{ env.sha_short }} + releaseName: "Spacebar Client v${{ env.branch }}_${{ env.sha_short }}" releaseBody: "See the assets to download this version and install." releaseDraft: false prerelease: true