release-to-github-with-package-json
This is a fork of release-to-github-with-changelog for lazy engineers.
Essentially, it uses the package.json
file to get the version and name rather than a changelog.
Setup:
npm i --save-dev release-to-github-with-package-json
- Ensure you have a
version
, name
and repository.url
in your package.json
- Set an environment variable for
GITHUB_TOKEN
with your github personal access token - Then you can run
npm run release-to-github-with-package-json
to create a release tag - Then bump the version number either using
npm version patch -m '[ci skip] Bump version to %s' && git push origin master
or something else