Created
August 27, 2018 13:34
-
-
Save brunojppb/99b856c124ee5cafe0f4d3b230045964 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ %teamcity.build.branch% = master ]; then exit 0; else echo "WARNING! you are trying to deploy %teamcity.build.branch% branch. Only master is allowed. If you are sure about that, disable this build step"; exit 1; fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment