Skip to content

Commit

Permalink
Ci/renovate tf fix for makefile syntax (#45)
Browse files Browse the repository at this point in the history
- fix regex to include ?= syntax in Makefile
- also remove -rc1 prefix to properly match future versions
  • Loading branch information
sdischer-sap authored Nov 28, 2024
1 parent d9ae531 commit bcef7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG BASEDIR=cluster/images/crossplane-provider-btp-controller/

ARG TERRAFORM_VERSION=1.3.9
ARG TERRAFORM_PROVIDER_SOURCE=SAP/btp
ARG TERRAFORM_PROVIDER_VERSION=1.0.0-rc1
ARG TERRAFORM_PROVIDER_VERSION=1.0.0
ARG TERRAFORM_PROVIDER_DOWNLOAD_NAME=terraform-provider-btp
ARG TERRAFORM_NATIVE_PROVIDER_BINARY=${TERRAFORM_PROVIDER_DOWNLOAD_NAME}_${TERRAFORM_VERSION}_linux_amd64

Expand Down
3 changes: 1 addition & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"customManagers": [
{
"fileMatch": ["(^|/)Makefile$", "(^|/)Dockerfile$"],
"matchStrings": ["(export|ARG) *TERRAFORM_PROVIDER_VERSION *:?= *(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"matchStrings": ["(export|ARG) *TERRAFORM_PROVIDER_VERSION *[:|\\?]?= *(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"fileMatch": ["(^|/)Makefile$", "(^|/)Dockerfile$", "(^|/)config.yml$"],
"matchStrings": ["(export|ARG|--build-arg=) *TERRAFORM_PROVIDER_VERSION *:?= *(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"datasourceTemplate": "terraform-provider",
Expand All @@ -15,4 +15,3 @@
}
]
}

0 comments on commit bcef7a3

Please sign in to comment.