File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,7 @@ deploy:
2424 skip_cleanup : true
2525 on :
2626 tags : true
27+
28+ notifications :
29+ email :
30+ - patternfly-build@redhat.com
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ set -o errexit -o nounset
55if [ -z " $TRAVIS_TAG " -a " $TRAVIS_BRANCH " != " master" ]
66then
77 echo " This commit was made against $TRAVIS_BRANCH and not the master or tag! Do not deploy!"
8- exit 0
8+ exit 1
99fi
1010
1111# User info
1212git config user.name " Admin"
13- git config user.email " angular- patternfly@redhat.com"
13+ git config user.email " patternfly-build @redhat.com"
1414git config --global push.default simple
1515
1616# Add upstream authentication token
17- git remote add upstream https://$AUTH_TOKEN @github.com/patternfly/angular-patternfly .git
17+ git remote add upstream https://$AUTH_TOKEN @github.com/$TRAVIS_REPO_SLUG .git
1818
1919# Commit generated files
2020git add dist --force
@@ -23,7 +23,7 @@ git commit -m "Added files generated by Travis build"
2323# Push to releases branch
2424if [ -z " $TRAVIS_TAG " ]
2525then
26- git push upstream master:releases --force -v
26+ git push upstream $TRAVIS_BRANCH : $TRAVIS_BRANCH -dist --force -v
2727fi
2828
2929exit $?
You can’t perform that action at this time.
0 commit comments