[bug] NSIS bundler: semver version metadata is required to be numeric, but shouldn't be #8038
Labels
good first issue
Good for newcomers
status: needs triage
This issue needs to triage, applied to new issues
type: bug
Describe the bug
When bundling an app with the tauri version e.g. "2.5.0-beta+1a2b3c4d", I get an error that "optional build metadata in app version must be numeric-only".
My understanding is that this limitation only should apply to the Wix bundler (#5286), but I am using NSIS, which uses windows' ProductVersion instead of FileVersion.
Since ProductVersion can accept arbitrary strings, there appears to be no technical reason that this limitation should exist for NSIS bundlers.
Reproduction
project > version
set to e.g.0.1.0-beta+123
andtauri > bundle > targets
set to"nsis"
.tauri build
project > version
to0.1.0-beta+abc
tauri build
Expected behavior
Step 6 should function exactly the same as step 3.
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: