bash release scripts for JS modules
BSD-3-CLAUSE License
git release scripts for NPM modules
In your github repo:
git submodule add [email protected]:msimerson/.release.git
In newly checked out repos where .release exists, checkout the submodule with:
git submodule update --init --recursive
For each release, run 3 commands:
.release/start.sh [ major | minor | patch | prerelease ]
# do local coding & commit changes
.release/submit.sh
# submit the changes, create PR, see if CI tests pass
.release/finish.sh
# cleanup
.release/start.sh [ major | minor | patch | prerelease ]
This will:
open
exists)After making all your changes, editing your CHANGELOG, and committing all your changes:
.release/submit.sh
This will:
npm run format:check
&& npm run lint
(check only)gh
is installed:
The body of the PR and the Release will be the commit messages in your repo since the most recent tag.
After your PR is merged, finish it:
.release/finish.sh
This will:
gh
is installed: