Release script bugfix
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ BUILDDIR=$(realpath $DIR)/build
|
|||||||
# Ensure we're on the master branch
|
# Ensure we're on the master branch
|
||||||
check_branch() {
|
check_branch() {
|
||||||
curr_branch=$(git rev-parse --abbrev-ref HEAD)
|
curr_branch=$(git rev-parse --abbrev-ref HEAD)
|
||||||
if $curr_branch != "master"
|
if [ $curr_branch != "master" ]
|
||||||
then
|
then
|
||||||
echo "Not on master branch."
|
echo "Not on master branch."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user