diff --git a/golang-go.json b/golang-go.json index 017a659f..0a7d4e95 100644 --- a/golang-go.json +++ b/golang-go.json @@ -1,4 +1,10 @@ { + "packageRules": [ + { + "matchPackageNames": "golang/go", + "versioning": "regex:^(?\\d+)\\.(?\\d+)\\.?(?\\d+)?$" + } + ], "regexManagers": [ { "datasourceTemplate": "github-tags", diff --git a/jsonnet/golang-go.jsonnet b/jsonnet/golang-go.jsonnet index 70531877..573df5ce 100644 --- a/jsonnet/golang-go.jsonnet +++ b/jsonnet/golang-go.jsonnet @@ -4,4 +4,10 @@ local utils = import 'utils.libsonnet'; regexManagers: [ utils.golangGo + utils.argFileMatch, ], + packageRules: [ + { + matchPackageNames: "golang/go", + versioning: "regex:^(?\\d+)\\.(?\\d+)\\.?(?\\d+)?$" + } + ] }