Skip to content

Commit 8fb2d61

Browse files
committed
Setup cargo-release
1 parent 9915cf3 commit 8fb2d61

File tree

9 files changed

+29
-12
lines changed

9 files changed

+29
-12
lines changed

Cargo.lock

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The main crate `foo` will need the following `Cargo.toml`:
6363
// ...
6464

6565
[dependencies]
66-
stageleft = "0.6.0"
66+
stageleft = "0.7.0"
6767
foo_macro = { path = "../foo_macro" }
6868

6969
[build-dependencies]

release.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
pre-release-replacements = [
2+
{file="../README.md", search="stageleft = .*", replace="stageleft = \"{{version}}\""},
3+
{file="../README.md", search="stageleft_tool = .*", replace="stageleft_tool = \"{{version}}\""},
4+
]
5+
6+
consolidate-commits = true
7+
shared-version = true
8+

stageleft/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stageleft"
33
publish = true
4-
version = "0.6.0"
4+
version = "0.7.0"
55
documentation = "https://docs.rs/stageleft/"
66
description = "Type-safe staged programming for Rust"
77
edition = { workspace = true }
@@ -20,5 +20,5 @@ syn = { version = "2.0.46", features = [
2020
] }
2121
proc-macro2 = "1.0.74"
2222
proc-macro-crate = "1.0.0"
23-
stageleft_macro = { path = "../stageleft_macro", version = "^0.5.0" }
23+
stageleft_macro = { path = "../stageleft_macro", version = "^0.6.0" }
2424
ctor = "0.4.1"

stageleft_macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stageleft_macro"
33
publish = true
4-
version = "0.5.0"
4+
version = "0.6.0"
55
documentation = "https://docs.rs/stageleft_macro/"
66
description = "Helper macros for the stageleft crate"
77
edition = { workspace = true }

stageleft_test/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ publish = false
44
version = "0.0.0"
55
edition = "2024"
66

7+
[package.metadata.release]
8+
release = false
9+
710
[features]
811
test_feature = []
912

1013
[dependencies]
11-
stageleft = { path = "../stageleft", version = "^0.6.0" }
14+
stageleft = { path = "../stageleft", version = "^0.7.0" }
1215
stageleft_test_macro = { path = "../stageleft_test_macro" }
1316

1417
rand = { version = "0.9.0", features = ["thread_rng"] }
1518

1619
[build-dependencies]
17-
stageleft_tool = { path = "../stageleft_tool", version = "^0.5.0" }
20+
stageleft_tool = { path = "../stageleft_tool", version = "^0.6.0" }

stageleft_test_downstream/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ publish = false
44
version = "0.0.0"
55
edition = "2024"
66

7+
[package.metadata.release]
8+
release = false
9+
710
[dependencies]
811
stageleft_test = { path = "../stageleft_test" }

stageleft_test_macro/Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ publish = false
44
version = "0.0.0"
55
edition = "2024"
66

7+
[package.metadata.release]
8+
release = false
9+
710
[features]
811
test_feature = []
912

@@ -12,8 +15,8 @@ proc-macro = true
1215
path = "../stageleft_test/src/lib.rs"
1316

1417
[dependencies]
15-
stageleft = { path = "../stageleft", version = "^0.6.0" }
18+
stageleft = { path = "../stageleft", version = "^0.7.0" }
1619
rand = { version = "0.9.0", features = ["thread_rng"] }
1720

1821
[build-dependencies]
19-
stageleft_tool = { path = "../stageleft_tool", version = "^0.5.0" }
22+
stageleft_tool = { path = "../stageleft_tool", version = "^0.6.0" }

stageleft_tool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stageleft_tool"
33
publish = true
4-
version = "0.5.0"
4+
version = "0.6.0"
55
documentation = "https://docs.rs/stageleft_macro/"
66
description = "Helper macros for the stageleft crate"
77
edition = { workspace = true }

0 commit comments

Comments
 (0)