Skip to content

Commit

Permalink
Add types-test to cargo release (#1314)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarrencev authored Dec 19, 2023
1 parent 065dcc9 commit 85e92c3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ members = [
"crates/sozo",
"crates/torii/client",
"crates/torii/server",
"crates/torii/types-test",
"examples/spawn-and-move",
]

Expand Down
15 changes: 15 additions & 0 deletions crates/torii/types-test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
edition.workspace = true
license-file.workspace = true
name = "types-test"
repository.workspace = true
version.workspace = true

[package.metadata.release]
pre-release-replacements = [
{ file = "Scarb.lock", search = "^name = \"dojo\"\nversion = \".*\"$", replace = "name = \"dojo\"\nversion = \"{{version}}\"", min = 1 },
{ file = "Scarb.toml", search = "^version = \".*\"$", replace = "version = \"{{version}}\"", min = 1 },
]

[lib]
path = "src/lib.rs"
2 changes: 1 addition & 1 deletion crates/torii/types-test/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.4.1"
version = "0.4.2"
dependencies = [
"dojo_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion crates/torii/types-test/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
cairo-version = "2.4.0"
name = "types_test"
version = "0.1.0"
version = "0.4.2"

[cairo]
sierra-replace-ids = true
Expand Down
1 change: 1 addition & 0 deletions crates/torii/types-test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Placeholder so we can use `cargo release` to update Scarb.toml

0 comments on commit 85e92c3

Please sign in to comment.