Skip to content

Commit c42f882

Browse files
committed
chore(renovate): manage stemcell with renovate - fix regexp
1 parent 0ef6327 commit c42f882

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

renovate.json5

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@
139139
versioningTemplate: "git"
140140
},
141141
{
142-
description: 'bump of stemcell version within root-deployment.yaml: bosh stemcell hosted in bosh.io from github release tags. Not using github tags as they also include transient release candidates. matchStrings: https://regex101.com/r/3Gzhig/1 extracts: for bionic currentValue=1.174 expecting tag=ubuntu-bionic/v1.195 and extractVersionTemplate: https://regex101.com/r/ZrrDJ2/1 See regex doc at https://docs.renovatebot.com/modules/manager/regex/',
143-
fileMatch: ['.+/reference_dataset/template_repository/hello-world-root-depls/root-deployment\\.yml$'],
142+
description: 'bump of stemcell version within root-deployment.yaml: bosh stemcell hosted in bosh.io from github release tags. Not using github tags as they also include transient release candidates. matchStrings: https://regex101.com/r/wokPwY/1 extracts: for bionic currentValue=1.174 expecting tag=ubuntu-bionic/v1.195 and extractVersionTemplate: https://regex101.com/r/ZrrDJ2/1 See regex doc at https://docs.renovatebot.com/modules/manager/regex/',
143+
fileMatch: ['docs/reference_dataset/template_repository/hello-world-root-depls/root-deployment\\.yml$'],
144144
matchStrings: [
145-
"stemcell:\\n.*version: '(?<currentValue>[0-9.]+)'"
145+
"stemcell:\\n.*version: ['|\"](?<currentValue>[1-9.]+)['|\"]"
146146
],
147147
depNameTemplate: 'cloudfoundry/bosh-linux-stemcell-builder',
148148
datasourceTemplate: 'github-releases',

0 commit comments

Comments
 (0)