From ccc9c9b1ebbe523045800b5555695c21c7670b53 Mon Sep 17 00:00:00 2001 From: divolgin Date: Tue, 29 Oct 2024 13:40:59 -0700 Subject: [PATCH] Also fetch tags --- dagger/release.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dagger/release.go b/dagger/release.go index 28754068..61166f3c 100644 --- a/dagger/release.go +++ b/dagger/release.go @@ -96,7 +96,8 @@ func (r *Replicated) Release( WithWorkdir("/go/src/github.com/replicatedhq/replicated"). With(CacheBustingExec([]string{"git", "tag", fmt.Sprintf("v%d.%d.%d", major, minor, patch)})). With(CacheBustingExec([]string{"git", "push", "dagger", fmt.Sprintf("v%d.%d.%d", major, minor, patch)})). - With(CacheBustingExec([]string{"git", "fetch", "dagger", latestReleaseBranchName})) + With(CacheBustingExec([]string{"git", "fetch", "dagger", latestReleaseBranchName})). + With(CacheBustingExec([]string{"git", "fetch", "dagger", "--tags"})) _, err = tagContainer.Stdout(ctx) if err != nil { return err