Skip to content

Commit 5206e79

Browse files
committed
Fix naming of windows installer
1 parent 3ebf25e commit 5206e79

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

mk/dist.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ distcheck-tar-src: dist-tar-src
112112

113113
ifdef CFG_ISCC
114114

115-
PKG_EXE = dist/$(PKG_NAME)-install.exe
115+
PKG_EXE = dist/$(PKG_NAME)-$(CFG_BUILD).exe
116116

117117
%.iss: $(S)src/etc/pkg/%.iss
118118
cp $< $@

src/etc/pkg/rust.iss

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
22
#define CFG_RELEASE GetEnv("CFG_RELEASE")
33
#define CFG_PACKAGE_NAME GetEnv("CFG_PACKAGE_NAME")
4+
#define CFG_BUILD GetEnv("CFG_BUILD")
45

56
[Setup]
67

@@ -20,7 +21,7 @@ DisableStartupPrompt=true
2021

2122
OutputDir=.\dist\
2223
SourceDir=.\
23-
OutputBaseFilename={#CFG_PACKAGE_NAME}-install
24+
OutputBaseFilename={#CFG_PACKAGE_NAME}-{#CFG_BUILD}
2425
DefaultDirName={pf32}\Rust
2526

2627
Compression=lzma2/ultra

0 commit comments

Comments
 (0)