Skip to content

Commit

Permalink
devctl gen renovate: make --interval optional, remove default val…
Browse files Browse the repository at this point in the history
…ue (#628)

* Make --interval flag optional, remove default value

* Update CHANGELOG.md
  • Loading branch information
marians authored Sep 22, 2023
1 parent b0aa05e commit cec3c3b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions renovate/internal/file/renovate.json.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- $interval := .Interval -}}
{{- $language := .Language -}}
{{- $reviewer := .Reviewer -}}
{
Expand Down Expand Up @@ -69,6 +68,8 @@
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
}
],
"schedule": [ {{ $interval | printf "%q" }} ]
]
{{- if ne .Interval "" }},
"schedule": [ {{ .Interval | printf "%q" }} ]
{{- end }}
}

0 comments on commit cec3c3b

Please sign in to comment.