Skip to content

Commit

Permalink
fix: minor fix of release.sh
Browse files Browse the repository at this point in the history
Previously version of FC obtained from binary in `release.sh`
contained `v` (so it was `v.1.4.0`). But in `Cargo.toml`
of FC version was `1.4.0`. Because of this difference release
process was failing. This change fixes this issue.

Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
  • Loading branch information
ShadowCurse committed Jul 19, 2023
1 parent b42a3ad commit 8268181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function strip-and-split-debuginfo {
}

function get-firecracker-version {
(cd src/firecracker; cargo pkgid | cut -d# -f2 | cut -d: -f2)
(cd src/firecracker; cargo pkgid | cut -d# -f2 | (echo -n v; cut -d: -f2))
}

#### MAIN ####
Expand Down

0 comments on commit 8268181

Please sign in to comment.