Skip to content

Commit b9d949c

Browse files
committed
Set NTON_VERSION before Inno Setup step
Moved the NTON_VERSION environment variable assignment to occur before running Inno Setup, ensuring the correct version is available for the installer build process.
1 parent d297307 commit b9d949c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ jobs:
3737
run: uv run python pyinstaller.py
3838
- name: Create Windows Installer with Inno Setup
3939
run: |
40+
$env:NTON_VERSION = uvx hatch version
4041
iscc setup.iss
4142
mv dist/NTON-*.exe .
4243
- name: Build Portable EXE with PyInstaller
4344
shell: pwsh
4445
run: |
45-
$env:NTON_VERSION = uvx hatch version
4646
uv run python pyinstaller.py --one-file
4747
mv dist/NTON.exe NTON-${{ github.ref_name }}-portable.exe
4848
- name: Build project

0 commit comments

Comments
 (0)