Skip to content

Commit 4c019f4

Browse files
committed
Update Cargo.lock and make release_script.sh robust to annotated tags
1 parent 918e247 commit 4c019f4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ echo "-----------------------------------------------------"
77
VERSION=$(grep -m 1 '^version = ' Cargo.toml | sed 's/version = "\(.*\)"/\1/')
88
TAG="v$VERSION"
99

10-
SHA=$(git rev-parse "$TAG")
10+
SHA=$(git rev-parse "$TAG^{commit}")
1111

1212
echo "Waiting for Github Actions to register runs for commit $SHA ($TAG)..."
1313
while true; do

0 commit comments

Comments
 (0)