Skip to content

Commit 5bdff91

Browse files
committed
chore(release): preloop 0.32.8, CLI and server versioned in lockstep
The deployed cpane binary reported CLI `0.32.7` while running post-0.32.7 code, because `preloop-cli`'s version had not been bumped since the tag — so `--version` could not identify which source a host was serving. Worse, `preloop status` reports `service.version` from `preloop-runner-server`, which sat at an unrelated `0.2.0`, so neither number located the build. The CLI embeds the server and they ship as one artifact, so both now inherit `[workspace.package] version`. The OpenAPI document drops its hardcoded `0.2.0` and lets utoipa derive `CARGO_PKG_VERSION`, which is its documented default when `info(version)` is omitted. `release_version` is `CARGO_PKG_VERSION`, so this also moves the packed golden URL to the v0.32.8 release asset — which is what carries the Rust/Go home-contract fix in 3cbc129.
1 parent 3cbc129 commit 5bdff91

5 files changed

Lines changed: 10 additions & 5 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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ resolver = "2"
2222

2323
[workspace.package]
2424
edition = "2021"
25+
# `preloop-cli` and `preloop-runner-server` ship as one unit: the CLI embeds
26+
# the server and `preloop status` reports both, so a drifting pair made the
27+
# deployed binary's provenance unreadable (a host reporting CLI 0.32.7 was
28+
# running post-0.32.7 code, while `service.version` showed the server's
29+
# unrelated 0.2.0). Both now inherit this single number.
30+
version = "0.32.8"
2531
license = "MIT"
2632
repository = "https://github.com/preloopdev/preloop"
2733
rust-version = "1.97"

‎crates/preloop-cli/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "preloop-cli"
3-
version = "0.32.7"
3+
version.workspace = true
44
edition.workspace = true
55
license.workspace = true
66
repository.workspace = true

‎crates/preloop-runner-server/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "preloop-runner-server"
3-
version = "0.2.0"
3+
version.workspace = true
44
edition.workspace = true
55
# FSL-1.1-MIT: source-available, converts to MIT on the second anniversary
66
# of each release (see LICENSE in this crate). The rest of the workspace is

‎crates/preloop-runner-server/src/openapi.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ pub(crate) struct RunResponse {
133133
#[openapi(
134134
info(
135135
title = "preloop Native API",
136-
version = "0.2.0",
137136
description = "Native control-plane API for workflow submission, inspection, artifacts, cache, and debugging. Runner-compatible protocol routes (`/_apis/…`, `/broker/…`, `/twirp/…`) are intentionally excluded — they are governed by the official actions/runner protocol."
138137
),
139138
tags(

0 commit comments

Comments
 (0)