From 5a644bb60bb5cca20cc9919a150d600382e50a41 Mon Sep 17 00:00:00 2001 From: Adrien Lo Date: Tue, 12 Sep 2023 12:56:51 -0700 Subject: [PATCH] fix: update release commands (#66) `yarn` does not work with `release-it` /task https://app.asana.com/0/1205443643383517/1205483024453105/f --- RELEASING.md | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 95dd3d5..5bbaba4 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -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: +? Commit (Release 2.1.1)? Yes +? Tag (2.1.1)? Yes +? Push? Yes +```