Skip to content

Commit

Permalink
🩹 Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBardon committed Jan 3, 2024
1 parent 640098d commit 1766ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SRC=src/orangutan

VERSION="$(sed -n 's/version = "\(0.1.0\)"/\1/p' "$SRC"/Cargo.toml)"
VERSION="$(rg 'version = "(\d+\.\d+.\d+)"' -N --replace '$1' "$SRC"/Cargo.toml)"
TAG="v${VERSION:?}"

echo "Creating tag '${TAG}'…"
Expand Down

0 comments on commit 1766ae4

Please sign in to comment.