Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bitbucket-pipelines): support bitbucket pipe renovations #11859

Merged
merged 11 commits into from
Oct 20, 2021
Prev Previous commit
Next Next commit
Update lib/manager/bitbucket-pipelines/extract.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
  • Loading branch information
olegkrivtsov and viceice authored Sep 24, 2021
commit d7b1ad38e341d42c6b39fbadb41ad7c7578091b4
4 changes: 1 addition & 3 deletions lib/manager/bitbucket-pipelines/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ export function extractPackageFile(content: string): PackageFile | null {
const pipeMatch = pipeRegex.exec(line);
if (pipeMatch) {
const pipe = pipeMatch[1];
const pipeSplit = pipe.split(':');
const depName = pipeSplit[0];
const currentValue = pipeSplit[1];
const [ depName, currentValue ] = pipe.split(':');

const dep: PackageDependency = {
depName,
Expand Down