Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust release scripts #218

Merged
merged 3 commits into from
Jul 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ before_deploy:

deploy:
- provider: script
script: yarn release:canary
script: yarn release:canary preminor --yes --ignore-prepublish
skip_cleanup: true
on:
branch: develop
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -18,9 +18,9 @@
"prepublish": "lerna run prepublish",
"start": "lerna run storybook --stream",
"bumpversion": "lerna version --no-git-tag-version --no-push",
"release": "lerna publish from-package --yes",
"release": "lerna publish from-package",
"release:pre": "lerna publish --dist-tag=prerelease",
"release:canary": "lerna publish --canary --yes",
"release:canary": "lerna publish --canary",
"ghpages": "lerna run ghpages",
"lint": "npm run lint:eslint && npm run lint:stylelint",
"lint:eslint": "eslint ./packages --ignore-path=configs/.eslintignore ./",
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
@@ -7,4 +7,4 @@ git tag -a -f -m "${TRAVIS_TAG}" "${TRAVIS_TAG}" "${TRAVIS_TAG}"
git push --force origin "${TRAVIS_TAG}"

# publish to npm
yarn release --ignore-prepublish
yarn release --yes --ignore-prepublish