-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Failed to build pre-release on windows: app version cannot have build metadata or pre-release identifier #5286
Comments
This is a limitation of WiX (the toolkit used to create the |
@FabianLars My problem is, that i had a workaround that replaced the semver to a valid wix version like 1.5.0-beta.1 to 1.5.0.1. but then i get an error that this is not a valid semver. It seems that this worked around 6 months ago. Do you have an idea how to solve this "deadlock". i mean it would be nice to be able to create pre-releases for windows as well. |
The upcoming nsis target will support pre-releases. |
that would be awesome |
implemented in #6096 it still must be a valid semver string, meaning it'd look something like nsis willl have proper/full semver support. |
Failing due to a limitation of the wixtoolset. See: tauri-apps/tauri#5286
[skip ci] [skip netlify] Ref: tauri-apps/tauri#5286 (comment)
Does NSIS support full semantic versioning now? |
yes |
Describe the bug
build tauri app on windows, get below error:
but everything is ok on macOS
Reproduction
tauri.conf.json
and package.json
then build app
Expected behavior
success build a pre-release package on windows
just like on macOS
Platform and versions
Environment
› OS: Windows 10.0.19044 X64
› Webview2: 105.0.1343.50
› MSVC:
- Visual Studio ???? 2022
› Node.js: 14.20.0
› npm: 6.14.17
› pnpm: 7.11.0
› yarn: Not installed!
› rustup: 1.25.1
› rustc: 1.63.0
› cargo: 1.63.0
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 1.1.1
› @tauri-apps/api [NPM]: 1.1.0
› tauri [RUST]: 1.1.1,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,
App
› framework: React
App directory structure
├─ .git
├─ .github
├─ dist
├─ node_modules
├─ sample
├─ src
└─ src-tauri
Stack trace
Additional context
I already search the keyword on tauri issue list and doc site
not sure if it's related to rust
The text was updated successfully, but these errors were encountered: