Skip to content

Commit

Permalink
Allow git to follow global tagsign config
Browse files Browse the repository at this point in the history
-a tells git to "ignore the git config for signing tags"

that is all it does.

Close: #185

Note: SemVer minor -- @isaacs
  • Loading branch information
junderw authored and isaacs committed Jun 30, 2019
1 parent d192904 commit 39d473a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function _commit (version, localData, cb) {
...(signCommit ? ['-S', '-m'] : ['-m']),
message
])
const flagForTag = signTag ? '-sm' : '-am'
const flagForTag = signTag ? '-sm' : '-m'

stagePackageFiles(localData, options).then(() => {
return git.exec(commitArgs, options)
Expand Down

0 comments on commit 39d473a

Please sign in to comment.