Skip to content

Commit

Permalink
Also fetch tags
Browse files Browse the repository at this point in the history
  • Loading branch information
divolgin committed Oct 29, 2024
1 parent f86103d commit ccc9c9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dagger/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ccc9c9b

Please sign in to comment.