Skip to content

Commit 4900570

Browse files
authored
Merge pull request #301 from dlabrecq/PTNFLY-travis
Removed global email.
2 parents 5c05ac9 + c562f21 commit 4900570

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,3 @@ deploy:
2727
on: # The branch and repo that triggered the build
2828
branch: master
2929
condition: $TRAVIS_REPO_SLUG = "patternfly/angular-patternfly"
30-
31-
notifications:
32-
email:
33-

scripts/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -o errexit -o nounset
44

55
# User info
6-
git config user.name "Admin"
6+
git config user.name "patternfly-build"
77
git config user.email "[email protected]"
88
git config --global push.default simple
99

@@ -18,8 +18,8 @@ git commit -m "Added files generated by Travis build"
1818
# only deploy to the dist branch for tags.
1919
if [ -z "$TRAVIS_TAG" -a "$TRAVIS_BRANCH" != "master" ]
2020
then
21-
echo "This commit was made against $TRAVIS_BRANCH and not the master or tag! Do not deploy to $TRAVIS_BRANCH-dist"
22-
exit
21+
echo "This commit was made against $TRAVIS_BRANCH and not the master or tag! Do not deploy!"
22+
exit 0
2323
fi
2424

2525
# Push to dist branch

0 commit comments

Comments
 (0)