Skip to content

Commit ecbfb5b

Browse files
moha-bekhclaude
authored andcommitted
build: version exec-harness and memtrack with the runner
Both ship inside the `codspeed` binary, so their own versions no longer mean anything. Move the version to `[workspace.package]` and have the runner, `exec-harness` and `memtrack` inherit it. The integration version `exec-harness` reports goes from 1.3.0 to the runner's. They still declare binaries, so opt them out of dist: sharing the runner's version, a `v*` tag would otherwise release them alongside it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f348c63 commit ecbfb5b

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

‎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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "codspeed-runner"
3-
version = "5.4.0"
3+
version.workspace = true
44
edition = "2024"
55
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
@@ -96,6 +96,9 @@ assert_cmd = "2.2"
9696
predicates = "3.1.4"
9797
strum = { version = "0.28.0", features = ["derive"] }
9898

99+
[workspace.package]
100+
version = "5.4.0"
101+
99102
[workspace]
100103
members = [
101104
"crates/runner-shared",

‎crates/exec-harness/Cargo.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "exec-harness"
3-
version = "1.3.0"
3+
version.workspace = true
44
edition = "2024"
55
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
@@ -28,5 +28,6 @@ rstest = { workspace = true }
2828
[build-dependencies]
2929
cc = "1"
3030

31+
# Bundled in the runner binary, not released on its own.
3132
[package.metadata.dist]
32-
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
33+
dist = false

‎crates/memtrack/Cargo.toml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "memtrack"
3-
version = "1.6.0"
3+
version.workspace = true
44
edition = "2024"
55
repository = "https://github.com/CodSpeedHQ/codspeed"
66
publish = false
@@ -53,3 +53,7 @@ rstest = { workspace = true }
5353
test-log = { workspace = true }
5454
insta = { workspace = true, features = ["json", "redactions"] }
5555
test-with = { workspace = true }
56+
57+
# Bundled in the runner binary, not released on its own.
58+
[package.metadata.dist]
59+
dist = false

0 commit comments

Comments
 (0)