From eeaf26e7a24c5c51c64fc333284015224e851e8c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 13 Apr 2026 15:18:49 +0900 Subject: internal/rosa: wrapper around git helper This results in much cleaner call site for the majority of use cases. Signed-off-by: Ophestra --- internal/rosa/git.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal/rosa/git.go') diff --git a/internal/rosa/git.go b/internal/rosa/git.go index e39e0c31..9b9fa2d6 100644 --- a/internal/rosa/git.go +++ b/internal/rosa/git.go @@ -114,3 +114,8 @@ git \ rm -rf /work/.git `, resolvconf()) } + +// newTagRemote is a helper around NewViaGit for a tag on a git remote. +func (t Toolchain) newTagRemote(url, tag, checksum string) pkg.Artifact { + return t.NewViaGit(url, "refs/tags/"+tag, mustDecode(checksum)) +} -- cgit v1.3.1