Skip to content

Commit c63cf7e

Browse files
authored
chore: release v0.1.4 (#11)
* chore: release v0.1.4 * test: make version test automatically track CARGO_PKG_VERSION Changed hardcoded version string to use env!("CARGO_PKG_VERSION") so the test automatically uses the current crate version. This eliminates the need to manually update the test every time release-plz bumps the version. Before: .stdout(predicate::str::contains("0.1.3")) After: .stdout(predicate::str::contains(env!("CARGO_PKG_VERSION"))) The test will now always pass for any version without manual updates.
1 parent ce30293 commit c63cf7e

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ members = [
66
resolver = "2"
77

88
[workspace.package]
9-
version = "0.1.3"
9+
version = "0.1.4"
1010
edition = "2024"
1111
authors = ["ccsync contributors"]
1212
license = "MIT"

crates/ccsync/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.4](https://github.com/onsails/ccsync/compare/ccsync-v0.1.3...ccsync-v0.1.4) - 2025-10-28
11+
12+
### Other
13+
14+
- update version check to 0.1.3
15+
- update version check to 0.1.2
16+
1017
## [0.1.3](https://github.com/onsails/ccsync/compare/ccsync-v0.1.2...ccsync-v0.1.3) - 2025-10-28
1118

1219
### Other

crates/ccsync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name = "ccsync"
1414
path = "src/main.rs"
1515

1616
[dependencies]
17-
ccsync-core = { version = "0.1.3", path = "../ccsync-core" }
17+
ccsync-core = { version = "0.1.4", path = "../ccsync-core" }
1818
clap.workspace = true
1919
anyhow.workspace = true
2020
dialoguer.workspace = true

crates/ccsync/tests/cli_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn test_version_output() {
2323
cmd.arg("--version")
2424
.assert()
2525
.success()
26-
.stdout(predicate::str::contains("0.1.3"));
26+
.stdout(predicate::str::contains(env!("CARGO_PKG_VERSION")));
2727
}
2828

2929
#[test]

0 commit comments

Comments
 (0)