Skip to content

Commit

Permalink
Set correct version for rust modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Apr 22, 2024
1 parent 01f322d commit fe7d652
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ members = ["crates/*"]

[workspace.dependencies]
pyo3 = ">=0.19"

[workspace.package]
version = "0.22.0"
2 changes: 1 addition & 1 deletion crates/diff-tree/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diff-tree-py"
version = "3.4.0"
version = { workspace = true }
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/objects/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "objects-py"
version = "3.4.0"
version = { workspace = true }
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/pack/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "pack-py"
version = "3.4.0"
version = { workspace = true }
edition = "2021"

[lib]
Expand Down
5 changes: 5 additions & 0 deletions disperse.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ update_version {
match: "^__version__ = \((.*)\)$"
new_line: "__version__ = $TUPLED_VERSION"
}
update_version {
path: "Cargo.toml"
match: "^version = \"(.*)\"$"
new_line: "version = \"$VERSION\""
}
# Dulwich' CI builds wheels, which is really slow
ci_timeout: 7200
# We have a GitHub action that uploads to PyPI, so we don't need to do it here.
Expand Down

0 comments on commit fe7d652

Please sign in to comment.