Skip to content

Commit

Permalink
Use tag without v
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitenite committed Dec 11, 2024
1 parent d123515 commit 358a4ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ jobs:
- name: Build Electron App (Windows only)
if: startsWith(matrix.os, 'windows')
working-directory: apps/studio
run: bun run build && npx electron-builder --win
run: |
bun run build && npx electron-builder --win
echo "RELEASE_VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -93,7 +95,7 @@ jobs:
code-signing-account-name: ${{ secrets.AZURE_CODE_SIGNING_NAME }}
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
file-digest: SHA256
files-folder: apps/studio/release/${{ github.ref_name && github.ref_name.startsWith('v') ? github.ref_name.substring(1) : github.ref_name }}
files-folder: apps/studio/release/${{ env.RELEASE_VERSION }}
files-folder-filter: exe

- name: Build and Release Electron App
Expand Down

0 comments on commit 358a4ee

Please sign in to comment.