@supermojo-official/release
v1.0.2
Published
Release scripts for supermojo projects
Readme
Release
Scripts to make creating release tags easier
Installation
- Add to typescript project
yarn
yarn add -D @supermojo-official/releasenpm
npm i -D @supermojo-official/release- Create a release script in package.json
"release": "./node_modules/.bin/release",Create Release
$ yarn release create-release -h$ npm run release create-release -- -hCreate a new release tag and push it
Options:
-h, --help Show help [boolean]
--remote [default: "origin"]
--ref The commit-sha to create the release from
[string] [required] [default: "main"]Create Hotfix
yarn release create-hotfix -hnpm run release create-hotfix -- -hCreate a new hotfix branch from a previous release
Options:
-h, --help Show help [boolean]
--remote [default: "origin"]
--release-tag The release tag to create the hotfix from
[string] [required]
