We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0832d8 commit bc5aa6cCopy full SHA for bc5aa6c
1 file changed
scripts/release.sh
@@ -5,6 +5,9 @@ set -e
5
version=${1:-$(git cliff --bumped-version)}
6
7
echo "Preparing $version..."
8
+# lint and test first
9
+just lint
10
+just test --retries 3
11
# update the version
12
msg="# managed by release.sh"
13
sed -E -i "s/^version = .*\s+$msg$/version = \"${version#v}\" $msg/" Cargo.toml
@@ -24,4 +27,4 @@ changelog=$(git cliff --unreleased --strip all)
24
27
# create a tag
25
28
git tag -a "$version" -m "Release $version" -m "$changelog"
26
29
echo "Done!"
-echo "Now push the commit (git push) and the tag (git push --tags)."
30
+echo "Now push the commit (git push origin master) and the tag (git push origin refs/tags/$version)."
0 commit comments