diff options
Diffstat (limited to 'internal/rosa/git.go')
| -rw-r--r-- | internal/rosa/git.go | 5 |
1 files changed, 5 insertions, 0 deletions
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)) +} |
