1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 23:23:47 +03:00

move CHANGELOG symlink to .travis.yml

This commit is contained in:
Shawn Allen 2017-07-31 13:52:43 -07:00
parent 55047e1733
commit ba8a03e19a
2 changed files with 2 additions and 3 deletions

View File

@ -10,6 +10,8 @@ before_script:
script: script:
- npm test - npm test
# symlink CHANGELOG.md primer-css/CHANGELOG.md
- ln -s CHANGELOG.md modules/primer-css
after_success: after_success:
- script/after_success - script/after_success

View File

@ -4,9 +4,6 @@ set -e
branch=$TRAVIS_BRANCH branch=$TRAVIS_BRANCH
event=$TRAVIS_EVENT_TYPE event=$TRAVIS_EVENT_TYPE
# symlink CHANGELOG.md primer-css/CHANGELOG.md
ln -s CHANGELOG.md modules/primer-css
# only publish canary releases on PRs against dev # only publish canary releases on PRs against dev
if [[ "$event" = "pull_request" && "$branch" = "dev" ]]; then if [[ "$event" = "pull_request" && "$branch" = "dev" ]]; then
script/release-pr --yes script/release-pr --yes