feat: change tag message schema (#11)
This commit is contained in:
@@ -69,9 +69,7 @@ program
|
|||||||
? null
|
? null
|
||||||
: await confirm({
|
: await confirm({
|
||||||
message: "Stage all changes?",
|
message: "Stage all changes?",
|
||||||
initialValue: (
|
initialValue: (await simpleGit().diff(["--cached"])).toString()
|
||||||
await simpleGit().diff(["--name-only", "--cached"])
|
|
||||||
).toString()
|
|
||||||
? false
|
? false
|
||||||
: true,
|
: true,
|
||||||
});
|
});
|
||||||
@@ -446,8 +444,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`, `"v${version}"`]
|
||||||
: [`-a`, `v${version}`, `-m`, `"Version ${version}"`]
|
: [`-a`, `v${version}`, `-m`, `"v${version}"`]
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user