From ae8f70b466870d9fc343328f9944461b928a6b6a 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. --- 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)