Skip to content

Commit

Permalink
Override dist-win-x86_64/Windows/version with developedVersion to w…
Browse files Browse the repository at this point in the history
…orkaround wix limitations
  • Loading branch information
WojciechMazur committed Oct 23, 2024
1 parent b6f91c0 commit 3f60f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2275,6 +2275,9 @@ object Build {
)
.settings(
Windows / name := "scala",
// Windows/version is used to create ProductInfo - it requires a version without any -RC suffixes
// If not explicitly overriden it would try to use `dottyVersion` assigned to `dist-win-x86_64/version`
Windows / version := developedVersion,
Windows / mappings := (Universal / mappings).value,
Windows / packageBin := (Windows / packageBin).dependsOn(republish).value,
Windows / wixFiles := (Windows / wixFiles).dependsOn(republish).value,
Expand Down

0 comments on commit 3f60f22

Please sign in to comment.