Skip to content

Commit

Permalink
chore(monorepo): set user info for git in travis
Browse files Browse the repository at this point in the history
set user info for git in travis
  • Loading branch information
theiliad committed Aug 30, 2018
1 parent 8a845e6 commit 86e9773
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,22 @@ if [[ $TRAVIS_BRANCH == 'master' ]]; then
git stash
git checkout master

# Git user info configs
git config --global user.email "carbon@us.ibm.com"
git config --global user.name "carbon-bot"

# Add github token to git credentials
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials 2>/dev/null
cat .git/credentials

lerna publish --conventional-commits --yes

# Generate all assets
# needed for push to gh-page
mkdir pages
touch pages/.nojekyll
echo "charts.carbondesignsystem.com" > pages/CNAME

# bundle core demo
cd packages/core
npm run build
npm run demo:build
Expand Down

0 comments on commit 86e9773

Please sign in to comment.