Skip to content

Commit 39d473a

Browse files
junderwisaacs
authored andcommitted
Allow git to follow global tagsign config
-a tells git to "ignore the git config for signing tags" that is all it does. Close: #185 Note: SemVer minor -- @isaacs
1 parent d192904 commit 39d473a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/version.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function _commit (version, localData, cb) {
301301
...(signCommit ? ['-S', '-m'] : ['-m']),
302302
message
303303
])
304-
const flagForTag = signTag ? '-sm' : '-am'
304+
const flagForTag = signTag ? '-sm' : '-m'
305305

306306
stagePackageFiles(localData, options).then(() => {
307307
return git.exec(commitArgs, options)

0 commit comments

Comments
 (0)