Make commit signing possible #3
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -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}"`]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user