Skip to content

Commit

Permalink
Fixing release on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thamara committed Sep 21, 2023
1 parent 01ca74e commit 0258ab8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ jobs:
- name: 'Packing EXE, etc'
if: success()
run: npm run setup:win
- name: 'Renaming MSI & EXE...'
- name: 'Renaming EXE...'
shell: pwsh
if: success()
# Usual format is 'TimeToLeaveInstaller.exe'. Consistent expected name is 'time-to-leave-2.0.1-installer.exe'
run: |
$newFileName = "packages/time-to-leave-${{ env.APP_VERSION }}-installer.exe"
$newFileName = "time-to-leave-${{ env.APP_VERSION }}-installer.exe"
Rename-Item -Path "packages/TimeToLeaveInstaller.exe" -NewName $newFileName
- name: 'Release EXE to GH'
if: success()
Expand Down

0 comments on commit 0258ab8

Please sign in to comment.