mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix release script
This commit is contained in:
parent
101b39300b
commit
8e14e803cb
@ -21,9 +21,9 @@ fi
|
|||||||
|
|
||||||
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
|
CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
|
||||||
|
|
||||||
if [ "$CURRENT_BRANCH" != "master" ]
|
if [ "$CURRENT_BRANCH" != "master" ] && [ "$CURRENT_BRANCH" != "rc" ]
|
||||||
then
|
then
|
||||||
echo "You have to be on the master branch to release."
|
echo "You have to be on the master or rc branch to release."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user