diff --git a/appveyor.branch.yml b/appveyor.branch.yml index a758c8e..4ff6c9c 100755 --- a/appveyor.branch.yml +++ b/appveyor.branch.yml @@ -217,11 +217,23 @@ init: # This runs before the commit is even checked out # Therefore cannot run scripts in Github - sh: echo "init" + - sh: echo "" + + # These tags are 'derived'. They are created when a release vX.Y.Z is created. + # Therefore there is no reason to run the build process against them. + - sh: >- + if [[ $APPVEYOR_REPO_TAG_NAME == 'latest' || $APPVEYOR_REPO_TAG_NAME =~ ^v[0123456789]+$ ]] ; then + echo "Skipping runing tests for tag: $APPVEYOR_REPO_TAG_NAME" + APPVEYOR_SKIP_FINALIZE_ON_EXIT=true + exit 0; + fi; + - sh: >- if [ "$ENABLE_SSH_AT_START" == "true" ] && [ "$STOP_WITH_BUILD_IMAGE" = "$APPVEYOR_BUILD_WORKER_IMAGE" ] && [ "$STOP_WITH_PYTHON_VERSION" = "$PYTHON" ] ; then export APPVEYOR_SSH_BLOCK=true curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e - fi; + - sh: echo "Build Image:" "$APPVEYOR_BUILD_WORKER_IMAGE" - sh: echo "Python Version:" "$PYTHON" - sh: echo "WeeWX Version:" "$WEEWX" diff --git a/appveyor.master.yml b/appveyor.master.yml index 2ac1662..27544df 100755 --- a/appveyor.master.yml +++ b/appveyor.master.yml @@ -219,10 +219,6 @@ init: - sh: echo "init" - sh: echo "" - - sh: >- - echo "Build Image:" "$APPVEYOR_REPO_TAG_NAME"; - exit 0; - # These tags are 'derived'. They are created when a release vX.Y.Z is created. # Therefore there is no reason to run the build process against them. - sh: >-