From f8ca9c13819e758920cce760bf667bc5df449f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:09:00 +0200 Subject: [PATCH] chore(updatecli): add a manifest for `git-lfs` on Windows (#500) * chore(updatecli): add a manifest for `git-lfs` on Windows * add missing EOF --- updatecli/updatecli.d/git-lfs-windows.yaml | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 updatecli/updatecli.d/git-lfs-windows.yaml diff --git a/updatecli/updatecli.d/git-lfs-windows.yaml b/updatecli/updatecli.d/git-lfs-windows.yaml new file mode 100644 index 000000000..0cd52a7e8 --- /dev/null +++ b/updatecli/updatecli.d/git-lfs-windows.yaml @@ -0,0 +1,56 @@ +name: Bump `git-lfs` version on Windows + +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: + lastVersion: + kind: githubrelease + name: Get the latest `git-lfs` version + spec: + owner: git-lfs + repository: git-lfs + token: "{{ requiredEnv .github.token }}" + username: "{{ .github.username }}" + versionfilter: + kind: semver + +targets: + setGitLfsVersionWindowsNanoserver: + name: Update the `git-lfs` Windows version for Windows Nanoserver + kind: dockerfile + spec: + file: windows/nanoserver/Dockerfile + instruction: + keyword: ARG + matcher: GIT_LFS_VERSION + scmid: default + setGitLfsVersionWindowsServer: + name: Update the `git-lfs` Windows version for Windows Core Server + kind: dockerfile + spec: + file: windows/windowsservercore/Dockerfile + instruction: + keyword: ARG + matcher: GIT_LFS_VERSION + scmid: default + +actions: + default: + kind: github/pullrequest + title: Bump `git-lfs` version on Windows to {{ source "lastVersion" }} + scmid: default + spec: + labels: + - enhancement + - git-lfs + - windows