greenkeeper-lockfile
Advanced tools
Comparing version 1.4.0 to 1.5.0
{ | ||
"name": "greenkeeper-lockfile", | ||
"description": "Your lockfile, up to date, all the time", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": "Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)", | ||
@@ -6,0 +6,0 @@ "bin": { |
@@ -35,2 +35,7 @@ #!/usr/bin/env node | ||
// legacy support | ||
if (config.branchPrefix === 'greenkeeper/' && info.branchName.startsWith('greenkeeper-')) { | ||
config.branchPrefix = 'greenkeeper-' | ||
} | ||
if (!info.branchName.startsWith(config.branchPrefix)) { | ||
@@ -37,0 +42,0 @@ return console.error('Not a Greenkeeper branch') |
@@ -11,2 +11,7 @@ #!/usr/bin/env node | ||
module.exports = function upload () { | ||
// legacy support | ||
if (config.branchPrefix === 'greenkeeper/' && info.branchName.startsWith('greenkeeper-')) { | ||
config.branchPrefix = 'greenkeeper-' | ||
} | ||
if (!info.branchName.startsWith(config.branchPrefix)) { | ||
@@ -16,3 +21,6 @@ return console.error('Not a Greenkeeper branch') | ||
if (info.branchName === (config.branchPrefix + 'initial')) { | ||
const isInitial = info.branchName === (config.branchPrefix + 'initial') || | ||
info.branchName === (config.branchPrefix + 'update-all') | ||
if (isInitial) { | ||
return console.error('Not a Greenkeeper update pull request') | ||
@@ -19,0 +27,0 @@ } |
13492
199