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

fix: update release commands #66

Merged
merged 1 commit into from
Sep 12, 2023
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
42 changes: 32 additions & 10 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
# Releasing new versions

- In order to up the minor version, run: `yarn release`. For instance if the current version is 1.0.0, this will go to version 1.0.1.
- If you'd like to release a specific version, run `yarn release 1.2.3`.
- In order to up the minor version, run: `npm run release`. For instance if the current version is 1.0.0, this will go to version 1.0.1.
- If you'd like to release a specific version, run `npm run release 1.2.3`.
- This grunt task will ask the following questions, type `y` for all of them:

```
? Show updated files? Yes
M package.json
? Commit (Release 1.2.3)? Yes
? Tag (1.2.3)? Yes
? Push? Yes
? Publish test_track_js_client to npm? Yes
```
Example

```
$ npm run release

> test_track_js_client@2.1.0 release
> release-it

✔ yarn build

🚀 Let's release test_track_js_client (currently at 2.1.0)


Changelog:
* chore: bump version to 2.1.0 (#63) (bb6e765)
* chore: updated build config to support the latest fixes (#62) (fb1026e)
* fix: resolve pathing bug and add test coverage (#61) (10f781d)
* chore(deps): Update to latest npm modules (#60) (fcc5749)

? Select increment (next version): patch (2.1.1)

Changeset:
M package.json

? Publish test_track_js_client to npm? Yes
? Please enter OTP for npm: <YOUR OTP>
? Commit (Release 2.1.1)? Yes
? Tag (2.1.1)? Yes
? Push? Yes
```