Skip to content

Commit bd6bb82

Browse files
Merge pull request #432 from propeller-heads/dc/fix-versioning-ci
ci: Fix updating the workspace version
2 parents 67bc620 + dbf4134 commit bd6bb82

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[workspace.package]
2-
version = "0.196.0"
2+
version = "0.196.4"
33

44
[package]
55
name = "tycho-simulation"
6+
version.workspace = true
67
edition = "2021"
78
description = "Provides tools for interacting with protocol states, calculating spot prices, and quoting token swaps."
89
repository = "https://github.com/propeller-heads/tycho-simulation"
@@ -12,7 +13,6 @@ keywords = ["propellerheads", "solver", "defi", "dex", "mev"]
1213
license = "MIT"
1314
categories = ["finance", "cryptography::cryptocurrencies"]
1415
readme = "README.md"
15-
version = "0.196.4"
1616

1717
[workspace]
1818
members = ["tycho-integration-test", "tycho-test", "tycho_simulation_py"]

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const config = {
3939
publishCmd:
4040
'echo "NEXT_RELEASE_VERSION=${nextRelease.version}" >> $GITHUB_OUTPUT',
4141
prepareCmd: [
42-
"toml set --toml-path Cargo.toml package.version ${nextRelease.version}",
42+
"toml set --toml-path Cargo.toml workspace.package.version ${nextRelease.version}",
4343
"toml set --toml-path tycho_simulation_py/Cargo.toml package.version ${nextRelease.version}",
4444
"toml set --toml-path tycho_simulation_py/pyproject.toml project.version ${nextRelease.version}",
4545
"cargo update -p tycho-simulation",

0 commit comments

Comments
 (0)