sbt-native-packager
sbt-native-packager copied to clipboard
JDKPackager for windows does not show the appropriate information for MSI creation if two versions exist in the bundles folder
Expected behaviour
For an application named artifact with version 1.0.1 with a previously generated msi for version 1.0.0 in the bundles folder: When I finish producing the MSI, I expect the MSI produced to be reported correctly at the end with the text "Wrote ...\universal\jdkpackager\bundles\artifact-1.0.1.msi"
Actual behaviour
The text is "Wrote ...\universal\jdkpackager\bundles\artifact-1.0.0.msi"
Information
- sbt-native-packager 1.3.3
- 1.1.0
- Windows 10
- MSI
- wix 311
- Windows
Thanks for your report 😀. Could you add some additional information:
- a minimal
build.sbt
to reproduce this - the steps you perform to trigger this behaviour
Triggering it is pretty easy. Set version to something like 1.0.0 and package the build with the jdkPackager. Then set the build to version 1.0.1 and do the same. The packager will report that 1.0.0 has been created. It's a cosmetic flaw, but confusing. As for a minimal build.sbt, I'll work on that soon.
How do you change the version? Do you do it the sbt
console with set version := "1.0.1"
or is the build.sbt
change (e.g. with sbt-release?).