@supermojo-official/release
v1.0.2
Published
Release scripts for supermojo projects
Downloads
65
Readme
Release
Scripts to make creating release tags easier
Installation
- Add to typescript project
yarn
yarn add -D @supermojo-official/release
npm
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 -- -h
Create 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 -h
npm run release create-hotfix -- -h
Create 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]