We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4050a5c commit 6a2e158Copy full SHA for 6a2e158
.github/workflows/release.yml
@@ -19,12 +19,14 @@ jobs:
19
child_process.exec(
20
`git fetch --depth 1 origin +${ref}:${ref}`,
21
{}
22
- () => child_process.exec(
+ (err, stdout, stderr) => child_process.exec(
23
`git for-each-ref --format='%(contents)' ${ref}`,
24
{},
25
async (err, stdout, stderr) => {
26
- if (err)
27
- return core.setFailed(err)
+ if (err) {
+ core.setFailed(err)
28
+ return
29
+ }
30
const i = stdout.search(/^Signed\-off\-by\:\ /g)
31
const j = stdout.search(/^\-{5}BEGIN\ PGP\ SIGNATURE\-{5}$/g)
32
const body = i < 0 ? j < 0 ? stdout : stdout.slice(0, j) : stdout.slice(0, i)
0 commit comments