-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`yarn` does not work with `release-it` /task https://app.asana.com/0/1205443643383517/1205483024453105/f
- Loading branch information
Showing
1 changed file
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |