Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Fixing travis - again
Browse files Browse the repository at this point in the history
  • Loading branch information
FDiskas committed Dec 3, 2017
1 parent b517ebb commit 7ebd6f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ after_success:
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- |
changed_files=$(git diff --name-status "$TRAVIS_COMMIT_RANGE" | tr '\t' ' ')
changed_files=$(git diff --name-status "$TRAVIS_COMMIT_RANGE" | tr '\t' ' ')
if [[ "master" == "$TRAVIS_BRANCH" ] && [ "$changed_files" == "M package.json" ] ]]; then
(
github_changelog_generator --token $GITHUB_TOKEN --date-format %y/%m/%d
remote=$(git config --get remote.origin.url)
git remote set-url origin "${remote/github.com/$GITHUB_TOKEN:x-oauth-basic@github.com}"
github-release-from-changelog
git add .
git commit -m "Auto-update generate CHANGELOG.md"
git push origin "$TRAVIS_BRANCH"
github-release-from-changelog
)
fi
Expand Down

0 comments on commit 7ebd6f2

Please sign in to comment.