Skip to content

Commit

Permalink
chore(updatecli): add a manifest for git-lfs on Windows (#500)
Browse files Browse the repository at this point in the history
* chore(updatecli): add a manifest for `git-lfs` on Windows

* add missing EOF
  • Loading branch information
lemeurherve committed Sep 13, 2023
1 parent b81e9e0 commit f8ca9c1
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions updatecli/updatecli.d/git-lfs-windows.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f8ca9c1

Please sign in to comment.