I want to create a single command that would do following:
- increase the package.json version (I could do this by running
npm version patch
) - create Github release with that version as tag (not sure how to achieve this step?)
Brownie points if I could supply patch/minor/major flag while running the command so that npm version _flag_
runs instead of always patching.
I'm using gh
package https://cli.github.com/manual/gh_release_create