Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
82d634f4a9 Apply Version Updates From Current Changes (#12512)
Co-authored-by: FabianLars <30730186+FabianLars@users.noreply.github.com>
2025-01-25 18:23:32 +01:00
Fabian-Lars
8e9134c4a2 fix(cli): Apply --bins flag on build instead of dev (#12511) 2025-01-25 17:50:46 +01:00
7 changed files with 22 additions and 6 deletions

2
Cargo.lock generated
View File

@@ -9135,7 +9135,7 @@ dependencies = [
[[package]]
name = "tauri-cli"
version = "2.2.6"
version = "2.2.7"
dependencies = [
"anyhow",
"ar",

View File

@@ -1,5 +1,11 @@
# Changelog
## \[2.2.7]
### Bug Fixes
- [`8e9134c4a`](https://www.github.com/tauri-apps/tauri/commit/8e9134c4a2047329be0dbb868b7ae061a9d3f190) ([#12511](https://www.github.com/tauri-apps/tauri/pull/12511) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused `tauri dev` to fail because of an incorrect `--bins` flag.
## \[2.2.6]
### Enhancements

View File

@@ -1,6 +1,6 @@
[package]
name = "tauri-cli"
version = "2.2.6"
version = "2.2.7"
authors = ["Tauri Programme within The Commons Conservancy"]
edition = "2021"
rust-version = "1.77.2"

View File

@@ -1,6 +1,6 @@
{
"cli.js": {
"version": "2.2.6",
"version": "2.2.7",
"node": ">= 10.0.0"
},
"tauri": "2.2.4",

View File

@@ -382,8 +382,6 @@ fn dev_options(
if mobile {
args.push("--lib".into());
} else {
args.push("--bins".into());
}
if !args.contains(&"--no-default-features".into()) {
@@ -466,6 +464,8 @@ impl Rust {
.push("tauri/custom-protocol".into());
if mobile {
args.push("--lib".into());
} else {
args.push("--bins".into());
}
}

View File

@@ -1,5 +1,15 @@
# Changelog
## \[2.2.7]
### Bug Fixes
- [`8e9134c4a`](https://www.github.com/tauri-apps/tauri/commit/8e9134c4a2047329be0dbb868b7ae061a9d3f190) ([#12511](https://www.github.com/tauri-apps/tauri/pull/12511) by [@FabianLars](https://www.github.com/tauri-apps/tauri/../../FabianLars)) Fixed an issue that caused `tauri dev` to fail because of an incorrect `--bins` flag.
### Dependencies
- Upgraded to `tauri-cli@2.2.7`
## \[2.2.6]
### Enhancements

View File

@@ -1,6 +1,6 @@
{
"name": "@tauri-apps/cli",
"version": "2.2.6",
"version": "2.2.7",
"description": "Command line interface for building Tauri apps",
"funding": {
"type": "opencollective",