updatecli diff
updatecli apply
registries:
- type: standard
ref: v3.139.0 # renovate: depName=aquaproj/aqua-registry
packages:
- name: helmfile/helmfile
version: v0.149.0 # pinned to this version
conditions:
pinnedVersion:
name: Verify version is not pinned
kind: file
disablesourceinput: true
spec:
file: aqua.yaml
matchpattern: '(- name: helmfile/helmfile@)v\d+.\d+.\d+'
targets:
updateVersion:
sourceid: latestVersion
scmid: default
name: Update version in aqua.yaml
kind: file
spec:
file: aqua.yaml
matchpattern: '(- name: helmfile/helmfile@)v\d+.\d+.\d+'
replacepattern: '${1}{{ source "latestVersion" }}'
...
- Bump helmfile/helmfile version:
Source:
✔ [latestVersion] Get latest version from GitHub releases (kind: githubrelease)
Condition:
✗ [pinnedVersion] Verify version is not pinned (kind: file)
✔ [verifyVersion] Verify latest release published on GitHub (kind: githubrelease)
Target:
- [updateVersion] Update version in aqua.yaml (kind: file)