Skip to content

Commit c5c4746

Browse files
committed
Fix tag.sh script execution
1 parent 6b9ddfd commit c5c4746

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/tag.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env sh
22

3-
VERSION=$(grep '^version' ../Cargo.toml | grep -Po '\d+\.\d+\.\d+')
3+
set -euo pipefail
4+
5+
VERSION=$(grep '^version' Cargo.toml | grep -Po '\d+\.\d+\.\d+')
46
git tag -am "Version $VERSION" "v$VERSION"

0 commit comments

Comments
 (0)