From 39d473adf38a31954d0922f5cc6451ffd59fa362 Mon Sep 17 00:00:00 2001 From: Jonathan Underwood Date: Thu, 4 Apr 2019 11:14:46 +0900 Subject: [PATCH] Allow git to follow global tagsign config -a tells git to "ignore the git config for signing tags" that is all it does. Close: https://github.com/npm/cli/pull/185 Note: SemVer minor -- @isaacs --- lib/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/version.js b/lib/version.js index 265b049bf3914..0f1e97aedd403 100644 --- a/lib/version.js +++ b/lib/version.js @@ -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)