Skip to content

Commit 222e6e6

Browse files
committed
fix release config
1 parent 137c9c4 commit 222e6e6

File tree

5 files changed

+18
-8
lines changed

5 files changed

+18
-8
lines changed

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ features = ["lua54","teal","unsafe_lua_modules"]
2121

2222
[package.metadata.release]
2323
enable-features=["lua54"]
24+
pre-release-replacements = [
25+
{file="Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
26+
{file="Cargo.toml", search="\nbevy_event_priority = .*", replace="\nbevy_event_priority = {path = \"bevy_event_priority\", version = \"{{version}}\"}", exactly=1},
27+
{file="Cargo.toml", search="\nbevy_mod_scripting_derive = .*", replace="\nbevy_mod_scripting_derive = {path = \"bevy_mod_scripting_derive\", version = \"{{version}}\"}", exactly=1},
28+
]
2429

2530
[features]
2631

bevy_api_gen/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ path = "src/lib.rs"
1919
name = "bevy_api_gen"
2020
path = "src/main.rs"
2121

22+
[package.metadata.release]
23+
pre-release-replacements = [
24+
{file="Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
25+
]
2226

2327
[dependencies]
2428
rustdoc-types = "0.11.0"

bevy_event_priority/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ readme = "../readme.md"
1515
name = "bevy_event_priority"
1616
path = "src/lib.rs"
1717

18+
[package.metadata.release]
19+
pre-release-replacements = [
20+
{file="Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
21+
]
22+
1823
[dependencies]
1924
bevy = { version = "0.8.0", default-features = false}
2025

bevy_mod_scripting_derive/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ name = "bevy_mod_scripting_derive"
1616
proc-macro = true
1717
path = "src/lib.rs"
1818

19+
[package.metadata.release]
20+
pre-release-replacements = [
21+
{file="Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
22+
]
1923

2024
[dependencies]
2125
paste = "1.0.7"

release.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
pre-release-replacements = [
2-
{file="bevy_mod_scripting_derive/Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
3-
{file="bevy_api_gen/Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
4-
{file="bevy_event_priority/Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
5-
{file="Cargo.toml", search="version = .*\nauthors", replace="version = \"{{version}}\"\nauthors", exactly=1},
6-
{file="Cargo.toml", search="bevy_event_priority = .*", replace="bevy_event_priority = {path = \"bevy_event_priority\", version = \"{{version}}\"}", exactly=1},
7-
{file="Cargo.toml", search="bevy_mod_scripting_derive = .*", replace="bevy_mod_scripting_derive = {path = \"bevy_mod_scripting_derive\", version = \"{{version}}\"}", exactly=1},
8-
]

0 commit comments

Comments
 (0)