11
11
setlocal enableextensions enabledelayedexpansion
12
12
path %PATH% ;%PYTHON_HOME%
13
13
14
+ :: Versioning
15
+ set ProductVersion = 5.9.0
16
+ set ProductTag =
17
+
14
18
:: Identify the SourceRoot
15
19
:: Normalize the SourceRoot to make it easier to read the output.
16
20
cd %~dp0 \..\..
@@ -929,6 +933,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\toolchain.wixproj
929
933
-restore ^
930
934
-p:RunWixToolsOutOfProc=true ^
931
935
-p:OutputPath=%PackageRoot% \toolchain\ ^
936
+ -p:ProductVersion=%ProductVersion% ^
932
937
-p:IntermediateOutputPath=%PackageRoot% \toolchain\ ^
933
938
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain ^
934
939
-p:TOOLCHAIN_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
@@ -940,6 +945,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\sdk.wixproj ^
940
945
-restore ^
941
946
-p:RunWixToolsOutOfProc=true ^
942
947
-p:OutputPath=%PackageRoot% \sdk\ ^
948
+ -p:ProductVersion=%ProductVersion% ^
943
949
-p:IntermediateOutputPath=%PackageRoot% \sdk\ ^
944
950
-p:PLATFORM_ROOT=%PlatformRoot% \ ^
945
951
-p:SDK_ROOT=%SDKInstallRoot% \
@@ -951,6 +957,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\runtime.wixproj ^
951
957
-restore ^
952
958
-p:RunWixToolsOutOfProc=true ^
953
959
-p:OutputPath=%PackageRoot% \runtime\ ^
960
+ -p:ProductVersion=%ProductVersion% ^
954
961
-p:IntermediateOutputPath=%PackageRoot% \runtime\ ^
955
962
-p:SDK_ROOT=%SDKInstallRoot% \
956
963
:: TODO(compnerd) actually perform the code-signing
@@ -961,6 +968,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\devtools.wixproj
961
968
-restore ^
962
969
-p:RunWixToolsOutOfProc=true ^
963
970
-p:OutputPath=%PackageRoot% \devtools\ ^
971
+ -p:ProductVersion=%ProductVersion% ^
964
972
-p:IntermediateOutputPath=%PackageRoot% \devtools\ ^
965
973
-p:DEVTOOLS_ROOT=%BuildRoot% \Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain
966
974
:: TODO(compnerd) actually perform the code-signing
@@ -977,6 +985,7 @@ msbuild %SourceRoot%\swift-installer-scripts\platforms\Windows\installer.wixproj
977
985
-restore ^
978
986
-p:RunWixToolsOutOfProc=true ^
979
987
-p:OutputPath=%PackageRoot% \installer\ ^
988
+ -p:ProductVersion=%ProductVersion%%ProductTag% ^
980
989
-p:IntermediateOutputPath=%PackageRoot% \installer\ ^
981
990
-p:MSI_LOCATION=%PackageRoot% \
982
991
:: TODO(compnerd) actually perform the code-signing
0 commit comments