From 19dcc7054c12e22436804ce650ea11b6e1583ab1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 8 Mar 2019 12:12:45 -0500 Subject: [PATCH] test tag env var --- appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index feaf5a1771..8e8ee91850 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,8 +19,11 @@ build_script: - sh: chmod +x ./build.sh - sh: ./build.sh - sh: ./build.sh tag dev +- sh: [ "${APPVEYOR_REPO_TAG_NAME}" != "" ] && echo "TAG IS SET" +#- sh: [ "${APPVEYOR_REPO_TAG_NAME}" != "" ] && ./build.sh tag ${APPVEYOR_REPO_TAG_NAME#"v"} - sh: docker images - sh: ./build.sh push dev +#- sh: [ "${APPVEYOR_REPO_TAG_NAME}" != "" ] && ./build.sh push latest && ./build.sh push ${APPVEYOR_REPO_TAG_NAME#"v"} - cmd: msbuild bitwarden-server.sln /p:Configuration=Debug /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" after_build: - sh: docker logout