BUGFIX: Version switch
This commit is contained in:
1 parent
287ded43f6
commit
e407b55bac
1 file changed
+1
-1
+1
-1
@@ -49,7 +49,7 @@ printf "Getting current version... "
|
|||||||
CURRENT_VERSION=$(git rev-parse --abbrev-ref HEAD)
|
CURRENT_VERSION=$(git rev-parse --abbrev-ref HEAD)
|
||||||
echo "[${CURRENT_VERSION}]"
|
echo "[${CURRENT_VERSION}]"
|
||||||
|
|
||||||
if [[ "${CURRENT_VERSION}" == "${VERSION}" ]]
|
if [[ "${CURRENT_VERSION}" != "${VERSION}" ]]
|
||||||
then
|
then
|
||||||
printf "Checking out CouchPotato version '${VERSION}'... "
|
printf "Checking out CouchPotato version '${VERSION}'... "
|
||||||
git checkout -q ${VERSION}
|
git checkout -q ${VERSION}
|
||||||
|
|||||||
Reference in new issue
Block a user