Merge pull request 'renovate: termix — strip -tag suffix from github-releases candidates' (#66) from feat/renovate-termix-tag-suffix into main
This commit was merged in pull request #66.
This commit is contained in:
@@ -52,7 +52,7 @@ data:
|
|||||||
},
|
},
|
||||||
"customManagers": [
|
"customManagers": [
|
||||||
{
|
{
|
||||||
"description": "termix uses a release-X.Y.Z prefixed tag. extractVersion + loose doesn't work because Renovate validates the raw currentValue BEFORE applying extractVersion. Using regex versioning (which parses the prefixed value directly) sidesteps the pre-check. Datasource redirected to GitHub Releases at Termix-SSH/Termix so the 3-day stability gate has real timestamps to work with.",
|
"description": "termix: docker image tag is `release-X.Y.Z` but the upstream GitHub release tag_name is `release-X.Y.Z-tag` (different from the release name). regex versioning parses currentValue (no -tag); extractVersion strips the -tag suffix from candidate tag_names so they normalize to the same shape Renovate writes back to the manifest.",
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"managerFilePatterns": ["/termix-system/.+\\.ya?ml$/"],
|
"managerFilePatterns": ["/termix-system/.+\\.ya?ml$/"],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
@@ -60,7 +60,8 @@ data:
|
|||||||
],
|
],
|
||||||
"datasourceTemplate": "github-releases",
|
"datasourceTemplate": "github-releases",
|
||||||
"packageNameTemplate": "Termix-SSH/Termix",
|
"packageNameTemplate": "Termix-SSH/Termix",
|
||||||
"versioningTemplate": "regex:^release-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$"
|
"versioningTemplate": "regex:^release-(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)$",
|
||||||
|
"extractVersionTemplate": "^(?<version>release-\\d+\\.\\d+\\.\\d+)"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
|||||||
Reference in New Issue
Block a user