chore(release): v1.2.0

This commit is contained in:
2023-08-20 18:09:28 +03:00
parent 46a52ddebb
commit c69db8f4b9
3 changed files with 4 additions and 3 deletions

View File

@@ -17,6 +17,7 @@ Resultium commit standardization library
1. Make changes to your git initialized project 1. Make changes to your git initialized project
2. Run `rcz commit` in the root directory 2. Run `rcz commit` in the root directory
- if you wish to sign your commit use `--sign` option
3. Answer all the questions 3. Answer all the questions
4. Push to remote 4. Push to remote

View File

@@ -1,6 +1,6 @@
{ {
"name": "@resultium/rcz", "name": "@resultium/rcz",
"version": "1.1.3", "version": "1.2.0",
"description": "Resultium commit standardization library, based on conventional commits", "description": "Resultium commit standardization library, based on conventional commits",
"main": "./dist/index.js", "main": "./dist/index.js",
"bin": { "bin": {

View File

@@ -402,8 +402,8 @@ program
.commit(`chore(release): v${version}`, sign ? ["-S"] : []) .commit(`chore(release): v${version}`, sign ? ["-S"] : [])
.tag( .tag(
sign sign
? [`-s v${version}`, `-m "Version ${version}"`] ? [`-s`, `v${version}`, `-m`, `"Version ${version}"`]
: [`-a v${version}`, `-m "Version ${version}"`] : [`-a`, `v${version}`, `-m`, `"Version ${version}"`]
); );
}); });