Skip to content

Commit

Permalink
Update installer to set version from git
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGregory084 committed Jan 25, 2021
1 parent 0a45d7b commit a82f029
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ install:
# Add 64-bit MSVC Rust toolchain for repacker
- cmd: rustup toolchain install stable-x86_64-pc-windows-msvc
- cmd: rustup target add x86_64-pc-windows-msvc
# Set release version
- ps: Set-Item -Path env:RELEASE_VERSION -Value $(git describe --tags)

build_script:
# Launcher executable
Expand Down
5 changes: 4 additions & 1 deletion installer/openil2-debug.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "OpenIL2 (Debug Build)"
#define MyAppVersion "0.1.0"
#define MyAppVersion GetEnv('RELEASE_VERSION')
#define MyAppExeName "openil2.exe"

[Setup]
Expand All @@ -14,6 +14,9 @@ OutputBaseFilename=openil2-installer-debug
Compression=lzma
SolidCompression=yes
WizardStyle=modern
AppendDefaultDirName=no
DirExistsWarning=no
DisableDirPage=no

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand Down
5 changes: 4 additions & 1 deletion installer/openil2.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "OpenIL2"
#define MyAppVersion "0.1.0"
#define MyAppVersion GetEnv('RELEASE_VERSION')
#define MyAppExeName "openil2.exe"

[Setup]
Expand All @@ -14,6 +14,9 @@ OutputBaseFilename=openil2-installer
Compression=lzma
SolidCompression=yes
WizardStyle=modern
AppendDefaultDirName=no
DirExistsWarning=no
DisableDirPage=no

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Expand Down

0 comments on commit a82f029

Please sign in to comment.