support for preId
This commit is contained in:
parent
e18d844842
commit
07e8645be0
2
index.js
2
index.js
|
@ -13,7 +13,7 @@ Toolkit.run(async tools => {
|
||||||
const event = tools.context.payload
|
const event = tools.context.payload
|
||||||
|
|
||||||
if (!event.commits) {
|
if (!event.commits) {
|
||||||
console.log('Couldn\'t find any commits in this event, incrementing patch/prerelease version...')
|
console.log('Couldn\'t find any commits in this event, incrementing patch version...')
|
||||||
}
|
}
|
||||||
|
|
||||||
const messages = event.commits ? event.commits.map(commit => commit.message + '\n' + commit.body) : []
|
const messages = event.commits ? event.commits.map(commit => commit.message + '\n' + commit.body) : []
|
||||||
|
|
Loading…
Reference in New Issue