new_release argument checking
new_release should check the number of arguments before attempting to do anything.
This commit is contained in:
parent
26b8ae2fb3
commit
9c20388b85
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $# != 1]
|
||||
then
|
||||
echo "Usage: scripts/new_release BRANCH_NAME"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
NAME=$1
|
||||
echo "Creating new release: $NAME"
|
||||
|
||||
|
|
Loading…
Reference in New Issue