Skip to content

Commit 3f60f22

Browse files
committed
Override dist-win-x86_64/Windows/version with developedVersion to workaround wix limitations
1 parent b6f91c0 commit 3f60f22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: project/Build.scala

+3
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,9 @@ object Build {
22752275
)
22762276
.settings(
22772277
Windows / name := "scala",
2278+
// Windows/version is used to create ProductInfo - it requires a version without any -RC suffixes
2279+
// If not explicitly overriden it would try to use `dottyVersion` assigned to `dist-win-x86_64/version`
2280+
Windows / version := developedVersion,
22782281
Windows / mappings := (Universal / mappings).value,
22792282
Windows / packageBin := (Windows / packageBin).dependsOn(republish).value,
22802283
Windows / wixFiles := (Windows / wixFiles).dependsOn(republish).value,

0 commit comments

Comments
 (0)