Commit 083530b
fix(ci): set version from tag before building release binaries (#9)
Cargo embeds the version string from Cargo.toml at compile time.
The build job was not updating Cargo.toml before building, so all
release binaries shipped with the -next suffix from the dev version.
Installs cargo-edit and calls `cargo set-version` with the tag
version (stripping the leading `v`) before the build steps run.
Signed-off-by: Philippe Martin <phmartin@redhat.com>
Co-authored-by: Claude Code (claude-sonnet-4-6) <noreply@anthropic.com>1 parent 4a3ef63 commit 083530b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
| |||
0 commit comments