Skip to content

Commit

Permalink
Add version parameter to windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Sep 18, 2024
1 parent 18bbf7d commit b3f8a2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
path: novelwriter/assets

- name: Build Setup Installer
run: python pkgutils.py build-win-exe
run: |
BUILD_VERSION="$(python pkgutils.py version)"
python pkgutils.py build-win-exe
- name: Upload Unsigned Artifacts
id: upload-unsigned-artifact
Expand All @@ -47,6 +49,8 @@ jobs:
github-artifact-id: "${{ steps.upload-unsigned-artifact.outputs.artifact-id }}"
wait-for-completion: true
output-artifact-directory: "dist/"
parameters: |
version: "${{ steps.vars.output.BUILD_VERSION }}"
- name: Upload Signed Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit b3f8a2c

Please sign in to comment.