Make commit signing possible #3

Merged
CTO merged 3 commits from develop into main 2023-08-20 15:13:31 +00:00
3 changed files with 4 additions and 3 deletions
Showing only changes of commit c69db8f4b9 - Show all commits

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}"`]
); );
}); });