diff --git a/README.md b/README.md index cdfa8b3..043a821 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Resultium commit standardization library 1. Make changes to your git initialized project 2. Run `rcz commit` in the root directory + - if you wish to sign your commit use `--sign` option 3. Answer all the questions 4. Push to remote diff --git a/package.json b/package.json index 9f1157d..aef811b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@resultium/rcz", - "version": "1.1.3", + "version": "1.2.0", "description": "Resultium commit standardization library, based on conventional commits", "main": "./dist/index.js", "bin": { diff --git a/src/index.ts b/src/index.ts index 7f68b9f..71c4a13 100644 --- a/src/index.ts +++ b/src/index.ts @@ -402,8 +402,8 @@ program .commit(`chore(release): v${version}`, sign ? ["-S"] : []) .tag( sign - ? [`-s v${version}`, `-m "Version ${version}"`] - : [`-a v${version}`, `-m "Version ${version}"`] + ? [`-s`, `v${version}`, `-m`, `"Version ${version}"`] + : [`-a`, `v${version}`, `-m`, `"Version ${version}"`] ); });