Skip to content

Commit 5bf4388

Browse files
committed
dyn name
1 parent 13ef044 commit 5bf4388

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

win-installer/installer.nsi

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323

2424
RequestExecutionLevel admin
2525

26-
!define setup "subtivals-2.0.0-pre4.exe"
26+
!ifndef PACKAGE_VERSION
27+
!define PACKAGE_VERSION "dev"
28+
!endif
29+
!echo Building Subtivals version ${PACKAGE_VERSION}
30+
31+
!define setup "subtivals-${PACKAGE_VERSION}.exe"
2732

2833
; change this to wherever the files to be packaged reside
2934
!define srcdir "..\deploy"

0 commit comments

Comments
 (0)