Mac: add missing ‘then’
This commit is contained in:
@@ -448,7 +448,7 @@ function CreateDmg {
|
|||||||
fi
|
fi
|
||||||
if [[ -n $CONTINUOUS ]]; then
|
if [[ -n $CONTINUOUS ]]; then
|
||||||
BRANCH=$(git branch --show-current)
|
BRANCH=$(git branch --show-current)
|
||||||
if test -z "${BRANCH}"
|
if test -z "${BRANCH}"; then
|
||||||
BRANCH=$(git rev-parse --short HEAD)
|
BRANCH=$(git rev-parse --short HEAD)
|
||||||
fi
|
fi
|
||||||
mv "${PROJECT_NAME}_macOS_${arch}_latest.zip" "${PROJECT_NAME}_${BRANCH}_macOS_${CMAKE_BUILD_TYPE}.zip"
|
mv "${PROJECT_NAME}_macOS_${arch}_latest.zip" "${PROJECT_NAME}_${BRANCH}_macOS_${CMAKE_BUILD_TYPE}.zip"
|
||||||
|
Reference in New Issue
Block a user