Skip to content

Commit

Permalink
chore: add git-lfs updatecli manifest (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherveCB authored Nov 26, 2024
1 parent 189fbe4 commit 87cd504
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions updatecli/updatecli.d/git-lfs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
name: Bump `git-lfs` version

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastReleaseVersion:
kind: githubrelease
name: Get the latest `git-lfs` release version
spec:
owner: "git-lfs"
repository: "git-lfs"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
versionfilter:
kind: semver
transformers:
- trimprefix: v

targets:
updateVersion:
name: Update `git-lfs` version in debian dockerfiles
sourceid: lastReleaseVersion
kind: dockerfile
spec:
files:
- debian/bookworm/hotspot/Dockerfile
- debian/bookworm/hotspot/Dockerfile
instruction:
keyword: "ARG"
matcher: "GIT_LFS_VERSION"
scmid: default

actions:
default:
kind: github/pullrequest
title: Bump `git-lfs` version to {{ source "lastReleaseVersion" }}
scmid: default
spec:
labels:
- dependencies
- git-lfs

0 comments on commit 87cd504

Please sign in to comment.