Skip to content

Commit

Permalink
Trim the 'v' of the version. (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Feb 10, 2022
1 parent 480935f commit cef060c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,15 @@ jobs:
run: |
signtool sign /debug /n "Toitware ApS" /t http://timestamp.digicert.com/ $PWD/jag.exe
powershell Compress-Archive -Force jag.exe jag.zip
- name: Version number
id: version
run: |
$versionV = "${{ github.event.release.tag_name }}"
$version = $versionV.Substring(1)
echo ::set-output name=version::$version
- name: Build installer
run: |
& tools\windows_installer\build.bat ${{ github.event.release.tag_name }} $PWD\build\windows\jag.exe $PWD\jag_installer.exe
& tools\windows_installer\build.bat ${{ steps.version.outputs.version }} $PWD\build\windows\jag.exe $PWD\jag_installer.exe
signtool sign /debug /n "Toitware ApS" /t http://timestamp.digicert.com/ $PWD\jag_installer.exe
move $PWD\jag_installer.exe build/windows/jag_installer.exe
- name: Upload artifacts
Expand Down

0 comments on commit cef060c

Please sign in to comment.