Skip to content

Commit 98ff844

Browse files
authored
Have Renovate auto-update proto version (#160)
1 parent 6c40685 commit 98ff844

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

.github/renovate.json5

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,18 @@
2222
],
2323
enabled: false,
2424
},
25-
]
25+
],
26+
customManagers: [
27+
{
28+
customType: 'regex',
29+
datasourceTemplate: 'github-releases',
30+
managerFilePatterns: [
31+
'build.gradle.kts',
32+
],
33+
matchStrings: [
34+
'"(?<currentValue>.+?)" // renovate\\(github-releases\\): (?<depName>[^\\s]+)',
35+
],
36+
versioningTemplate: 'semver',
37+
},
38+
],
2639
}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ val snapshot = true
1616
// end
1717

1818
// The release version of opentelemetry-proto used to generate classes
19-
var protoVersion = "1.9.0"
19+
var protoVersion = "1.9.0" // renovate(github-releases): open-telemetry/opentelemetry-proto
2020

2121
// Compute the artifact version, include the "-SNAPSHOT" suffix if not releasing
2222
// Release example: 1.5.0

0 commit comments

Comments
 (0)