commit message

This commit is contained in:
phips28 2019-10-26 20:44:21 +02:00
parent 7bc94ad096
commit e3e192b55a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ const run = async () => {
console.log('event:', event) console.log('event:', event)
let messages = event.commits.map(commit => commit.message + '\n' + commit.body) let messages = event.commits.map(commit => commit.message + '\n' + commit.body)
const commitMessage = 'version bump' const commitMessage = 'version bump to'
const isVersionBump = messages.map(message => message.toLowerCase().includes(commitMessage)).includes(true) const isVersionBump = messages.map(message => message.toLowerCase().includes(commitMessage)).includes(true)
if (isVersionBump) { if (isVersionBump) {
return return