We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36500b4 commit b3b5751Copy full SHA for b3b5751
contrib/release.sh
@@ -9,6 +9,16 @@ main () {
9
for crate in "internals" "hashes" "bitcoin"; do
10
if release_changes $crate; then
11
echo "$crate has changes implying this is a release PR, checking if we can publish ..."
12
+
13
+ # Check if there is any mention of NEXT_RELEASE which means the
14
+ # next version number should be filled in.
15
+ if grep -qr NEXT_RELEASE ./$crate; then
16
+ echo Version number needs to be filled in following places:
17
+ grep -r NEXT_RELEASE ./$crate
18
+ exit 1
19
+ fi
20
21
+ # Then try to dry-run cargo publish
22
publish_dry_run $crate
23
fi
24
done
0 commit comments