1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-15 02:18:42 +02:00

APPVEYOR_RE_BUILD is True

This commit is contained in:
Kyle Spearrin 2019-03-08 14:48:37 -05:00
parent 059260d318
commit cf8b451e35

View File

@ -6,12 +6,15 @@ echo "Rebuild: ${APPVEYOR_RE_BUILD}"
PROD_DEPLOY=false
TAG_NAME=""
if [ "${APPVEYOR_REPO_TAG_NAME}" != "" -a "${APPVEYOR_RE_BUILD}" == "true" ]
if [ "${APPVEYOR_REPO_TAG_NAME}" != "" -a "${APPVEYOR_RE_BUILD}" == "True" ]
then
PROD_DEPLOY=true
TAG_NAME=${APPVEYOR_REPO_TAG_NAME#"v"}
fi
echo "Prod deploy: ${PROD_DEPLOY}"
echo "Tag name: ${TAG_NAME}"
npm install
npm run build:prod