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

chore: release script to create a new version and publish to npm #92

Merged
merged 2 commits into from
Jun 17, 2020

Conversation

ravijayaramappa
Copy link
Contributor

No description provided.

@ravijayaramappa ravijayaramappa requested a review from ekashida June 16, 2020 22:16
@ravijayaramappa ravijayaramappa force-pushed the ravi/master/release-script branch 3 times, most recently from 3356254 to 4327428 Compare June 16, 2020 22:24
@ravijayaramappa ravijayaramappa force-pushed the ravi/master/release-script branch from 4327428 to 1b067f4 Compare June 16, 2020 22:35
CONTRIBUTING.md Outdated
## Publishing a new release

Checkout the latest `master` branch of the repo. Run the `yarn release <version> <npm-tag>` command by providing the appropriate arguments to publish a new release of the package. A release commit should have been automatically created on your local branch. Push the release commit and the git tag to the remote repo.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should you do yarn install prior yarn release?

@ravijayaramappa ravijayaramappa force-pushed the ravi/master/release-script branch from 25f2328 to 656d9f4 Compare June 16, 2020 23:45
CONTRIBUTING.md Outdated
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message if any.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message if any.
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge. Also make sure to reference the related issues in the pull request message, if any.

package.json Outdated
@@ -7,7 +7,8 @@
"test": "jest --config ./scripts/jest/root.config.js",
"clean": "lerna run clean && lerna clean --yes && rm -rf node_modules",
"lint": "eslint packages/ scripts/",
"format": "prettier --write '{packages,scripts}/**/*.{js,ts,json,md}'"
"format": "prettier --write '{packages,scripts}/**/*.{js,ts,json,md}'",
"release": "./scripts/release_npm.sh"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"release": "./scripts/release_npm.sh"
"release": "yarn install && ./scripts/release_npm.sh"

Copy link
Member

@ekashida ekashida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some nits, looks good.

@ravijayaramappa ravijayaramappa force-pushed the ravi/master/release-script branch from 656d9f4 to 6b219a0 Compare June 17, 2020 00:02
Copy link
Contributor

@jodarove jodarove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ravijayaramappa ravijayaramappa merged commit 973dc1b into master Jun 17, 2020
@ravijayaramappa ravijayaramappa deleted the ravi/master/release-script branch June 17, 2020 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants