You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
however when semantic release tries to create the tag I get the error
[1:28:33 PM] [semantic-release] › ✖ An error occurred while running semantic-release: Error: Command failed with exit code 1: git tag v17.2.1 2c8fbc034892f534dcf4915ff4a1aebd75874fdd
error: Terminal is dumb, but EDITOR unset
Please supply the message using either -m or -F option.
at makeError (/home/runner/work/repo/repo/node_modules/execa/lib/error.js:58:11)
at handlePromise (/home/runner/work/repo/repo/node_modules/execa/index.js:114:26)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async tag (/home/runner/work/repo/repo/node_modules/semantic-release/lib/git.js:224:3)
at async run (/home/runner/work/repo/repo/node_modules/semantic-release/index.js:190:5)
at async module.exports (/home/runner/work/repo/repo/node_modules/semantic-release/index.js:259:22)
at async module.exports (/home/runner/work/repo/repo/node_modules/semantic-release/cli.js:55:5) {
shortMessage: 'Command failed with exit code 1: git tag v17.2.1 2c8fbc034892f534dcf4915ff4a1aebd75874fdd',
command: 'git tag v17.2.1 2c8fbc034892f534dcf4915ff4a1aebd75874fdd',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: '',
stderr: 'error: Terminal is dumb, but EDITOR unset\n' +
'Please supply the message using either -m or -F option.',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
Because the tag isn't created but the commit succeeds it triggers the job again, repeatedly until I cancel the job.
/** * Tag the commit head on the local repository. * * @param {String} tagName The name of the tag. * @param {String} ref The Git reference to tag. * @param {Object} [execaOpts] Options to pass to `execa`. * * @throws {Error} if the tag creation failed. */asyncfunctiontag(tagName,ref,execaOptions){awaitexeca('git',['tag',tagName,ref],execaOptions);}
As you can see, a lightweight tag is created, which does not support signing I believe.
In my GitHub Actions, I use crazy-max/ghaction-import-gpg which internally runs
however when semantic release tries to create the tag I get the error
Because the tag isn't created but the commit succeeds it triggers the job again, repeatedly until I cancel the job.
It would be great if we can support tag signing by passing a message.
The text was updated successfully, but these errors were encountered: