File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ if: type != push OR branch = master OR branch =~ /^deploy-\d+\.\d+\.\d+(-.*)?$/
33
44stages :
55 - name : pretest
6+ if : NOT branch =~ /^deploy-\d+\.\d+\.\d+(-.*)?$/
67 - name : test
8+ if : NOT branch =~ /^deploy-\d+\.\d+\.\d+(-.*)?$/
79 - name : deploy
810 if : branch =~ /^deploy-\d+\.\d+\.\d+(-.*)?$/
911 - name : publish
@@ -86,14 +88,16 @@ jobs:
8688 - stage : deploy
8789 name : Deploy
8890 osx_image : xcode11
91+ env : HOMEBREW_NO_INSTALL_CLEANUP=1
92+ install : brew install mxcl/made/swift-sh
8993 script :
94+ - set -e
9095 - export VERSION=$(echo $TRAVIS_TAG | cut -c 8-)
9196 - git tag "$VERSION"
92- -
git remote set-url origin "https://[email protected] /mxcl/homebrew-made.git" 97+ -
git remote set-url origin "https://[email protected] /$TRAVIS_REPO_SLUG.git" 98+ - git fetch --unshallow origin
9399 - git push origin "$VERSION"
94- - curl -O https://raw.githubusercontent.com/mxcl/ops/master/deploy
95- - chmod u+x deploy
96- - ./deploy publish-release
100+ - swift sh <(curl https://raw.githubusercontent.com/mxcl/ops/master/deploy) publish-release
97101 - git push origin :$TRAVIS_TAG
98102
99103 - stage : publish
You can’t perform that action at this time.
0 commit comments