Skip to content

Commit

Permalink
Merge pull request #27 from theiliad/master
Browse files Browse the repository at this point in the history
chore(monorepo): set user info for git in travis
  • Loading branch information
zvonimirfras authored Aug 30, 2018
2 parents 8a845e6 + 86e9773 commit ef3d5f7
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 ef3d5f7

Please sign in to comment.