We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--profile
1 parent e8014a7 commit bfa6969Copy full SHA for bfa6969
.changes/cli-detect-profile.md
@@ -0,0 +1,5 @@
1
+---
2
+'tauri': 'patch'
3
4
+
5
+Fix passing `--profile` to cargo in `tauri build` causing conflict with `--release` passed by the CLI.
tooling/cli/src/interface/rust/desktop.rs
@@ -291,7 +291,7 @@ fn build_command(
291
args.push(features.join(","));
292
}
293
294
- if !options.debug {
+ if !options.debug && !args.contains(&"--profile".to_string()) {
295
args.push("--release".into());
296
297
0 commit comments