We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47423c5 commit 2669ec4Copy full SHA for 2669ec4
release.sh
@@ -2,6 +2,16 @@
2
3
set -euf -o pipefail
4
5
+read -p 'Have you read DEVELOPMENT.md? [y/N] ' -n 1 -r
6
+echo
7
+case "$REPLY" in
8
+ Y|y) ;;
9
+ *)
10
+ echo 'Please read the Releasing section of DEVELOPMENT.md before running this script.'
11
+ exit 1
12
+ ;;
13
+esac
14
+
15
if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
16
echo "\$VERSION is not in MAJOR.MINOR.PATCH format"
17
exit 1
0 commit comments