mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
mk: Make windows installer work with -pre versions
This commit is contained in:
parent
4c86a0431b
commit
59905d1f27
@ -141,6 +141,9 @@ endif
|
||||
CFG_GIT_DIR := $(CFG_SRC_DIR).git
|
||||
CFG_RELEASE = 0.7-pre
|
||||
CFG_VERSION = $(CFG_RELEASE)
|
||||
# windows exe's need numeric versions - don't use anything but
|
||||
# numbers and dots here
|
||||
CFG_VERSION_WIN = 0.7
|
||||
|
||||
ifneq ($(wildcard $(CFG_GIT)),)
|
||||
ifneq ($(wildcard $(CFG_GIT_DIR)),)
|
||||
@ -311,6 +314,7 @@ $(foreach host,$(CFG_HOST_TRIPLES), \
|
||||
export CFG_SRC_DIR
|
||||
export CFG_BUILD_DIR
|
||||
export CFG_VERSION
|
||||
export CFG_VERSION_WIN
|
||||
export CFG_BUILD_TRIPLE
|
||||
export CFG_LLVM_ROOT
|
||||
export CFG_ENABLE_MINGW_CROSS
|
||||
|
@ -1,4 +1,5 @@
|
||||
#define CFG_VERSION GetEnv("CFG_VERSION")
|
||||
#define CFG_VERSION_WIN GetEnv("CFG_VERSION_WIN")
|
||||
|
||||
[Setup]
|
||||
|
||||
@ -8,7 +9,7 @@ AppVersion={#CFG_VERSION}
|
||||
AppCopyright=Copyright (C) 2006-2013 Mozilla Foundation, MIT license
|
||||
AppPublisher=Mozilla Foundation
|
||||
AppPublisherURL=http://www.rust-lang.org
|
||||
VersionInfoVersion={#CFG_VERSION}
|
||||
VersionInfoVersion={#CFG_VERSION_WIN}
|
||||
LicenseFile=LICENSE.txt
|
||||
|
||||
DisableWelcomePage=true
|
||||
|
Loading…
Reference in New Issue
Block a user