Skip to content

Commit

Permalink
replace 8.x by main on mage integration:updatePackageVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Sep 11, 2024
1 parent dc3ee01 commit 5a74ba0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -1969,6 +1969,11 @@ func (Integration) UpdatePackageVersion(ctx context.Context) error {
}

sc := snapshots.NewSnapshotsClient()

// TODO: find a proper fix.
if currentReleaseBranch == "8.x" {
currentReleaseBranch = "master"
}
versions, err := sc.FindLatestSnapshots(ctx, []string{currentReleaseBranch})
if err != nil {
return fmt.Errorf("failed to fetch a manifest for the latest snapshot: %w", err)
Expand Down

0 comments on commit 5a74ba0

Please sign in to comment.