We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d819c0c commit ef88ae5Copy full SHA for ef88ae5
1 file changed
scripts/publish_prod.sh
@@ -46,6 +46,9 @@ CURRENT_VERSION=$(node -pe "require('./package.json').version")
46
if [ -z "$1" ]; then
47
echo "Must specify a desired version number"
48
exit 1
49
+elif [[ $1 == v* ]]; then
50
+ echo "Version should not start with 'v', e.g., use 3.1.4 instead of v3.1.4"
51
+ exit 1
52
elif [[ ! $1 =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
53
echo "Must use a semantic version, e.g., 3.1.4"
54
0 commit comments