Skip to content

Commit

Permalink
fix: renovate k3s builds numbers
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <devin@buhl.casa>
  • Loading branch information
onedr0p committed Nov 24, 2023
1 parent 92f4a99 commit c7d8c2f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"github>onedr0p/flux-cluster-template//.github/renovate/commitMessage.json5",
"github>onedr0p/flux-cluster-template//.github/renovate/groups.json5",
"github>onedr0p/flux-cluster-template//.github/renovate/labels.json5",
"github>onedr0p/flux-cluster-template//.github/renovate/packageRules.json5",
"github>onedr0p/flux-cluster-template//.github/renovate/semanticCommits.json5",
"helpers:pinGitHubActionDigests"
],
Expand Down
11 changes: 11 additions & 0 deletions .github/renovate/packageRules.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"packageRules": [
{
"description": "Use custom versioning for k3s",
"matchDatasources": ["github-releases"],
"versioning": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?<compatibility>\\+k3s)(?<build>\\d+)$",
"matchPackagePatterns": ["k3s"]
}
]
}

0 comments on commit c7d8c2f

Please sign in to comment.