We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b9ddfd commit c5c4746Copy full SHA for c5c4746
scripts/tag.sh
@@ -1,4 +1,6 @@
1
#!/usr/bin/env sh
2
3
-VERSION=$(grep '^version' ../Cargo.toml | grep -Po '\d+\.\d+\.\d+')
+set -euo pipefail
4
+
5
+VERSION=$(grep '^version' Cargo.toml | grep -Po '\d+\.\d+\.\d+')
6
git tag -am "Version $VERSION" "v$VERSION"
0 commit comments