From 0eac31ed2d0be29fd9070b47b468ec2a36e7fa72 Mon Sep 17 00:00:00 2001 From: "Lockszmith (@kateryna)" Date: Mon, 25 Nov 2024 00:12:17 -0500 Subject: [PATCH] Added git-credential-oauth to .chezmoiexternals --- _home/.chezmoiexternal.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/_home/.chezmoiexternal.yaml b/_home/.chezmoiexternal.yaml index 170e3fe..9e66ea0 100644 --- a/_home/.chezmoiexternal.yaml +++ b/_home/.chezmoiexternal.yaml @@ -16,6 +16,17 @@ {{- end -}} {{- end -}} +{{- with $repo := "hickford/git-credential-oauth" -}} +{{- with $version := trimPrefix "v" (gitHubLatestRelease $repo).GetTagName -}} +{{- $_ := set $externals ".local/bin/git-credential-oauth" (dict + "type" "archive-file" + "url" (printf "https://github.com/%s/releases/download/v%s/git-credential-oauth_%s_linux_amd64.tar.gz" $repo $version $version) + "path" "git-credential-oauth" + "refreshPeriod" "168h") +-}} +{{- end -}} +{{- end -}} + {{- with $repo := "zellij-org/zellij" -}} {{- with $version := (gitHubLatestRelease $repo).GetTagName -}} {{- $_ := set $externals ".cache/chezmoi/tmp/zellij" (dict