Skip to content

Commit c6b5e44

Browse files
committed
fix: appVersion was java and not app version
1 parent cbeb225 commit c6b5e44

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ assemble:
196196
exported: false # we define the artifacts in the distribution manually as we don't generate macOS and we rename them
197197
applicationPackage:
198198
appName: '{{projectName}}' # Name of the cli
199-
appVersion: '{{projectJavaVersion}}' # to fix: Set a compatible 'app-version' value. Valid versions are one to three integers separated by dots.
199+
# MSI doesn't natively support version strings like 1.2.3-SNAPSHOT or 1.2.3-beta. The version must be strictly numeric.
200+
appVersion: '{{projectVersionNumber}}' # to fix: Set a compatible 'app-version' value. Valid versions are one to three integers separated by dots.
200201
jlink: doc-exec-jre # If you encounter the error; `runtimeImages are missing`, delete the target/jreleaser directory (cache error)
201202
# Linux
202203
# If configured, it will work on a linux runner, so we comment out the configuration

0 commit comments

Comments
 (0)