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 31d69bd commit 601cf12Copy full SHA for 601cf12
merge-release-run.js
@@ -40,7 +40,7 @@ const run = async () => {
40
}
41
42
if (!latest) {
43
- messages = event.commits.map(commit => commit.message + '\n' + commit.body)
+ messages = (event.commits || []).map(commit => commit.message + '\n' + commit.body)
44
45
46
let version = 'patch'
@@ -60,6 +60,8 @@ const run = async () => {
60
exec(`npm publish`)
61
exec(`git checkout package.json`) // cleanup
62
exec(`git tag ${newVersion}`)
63
+ exec(`echo "::set-output name=version::${newVersion}"`) // set action event.{STEP_ID}.output.version
64
+
65
/*
66
const env = process.env
67
const remote = `https://${env.GITHUB_ACTOR}:${env.GITHUB_TOKEN}@github.com/${env.GITHUB_REPOSITORY}.git`
0 commit comments