Skip to content

Commit

Permalink
Merge pull request #633 from jacobwoffenden/chore/update-version-guid…
Browse files Browse the repository at this point in the history
…ance

📝 Update the update messaging
  • Loading branch information
jackstockley89 authored Sep 26, 2024
2 parents 6942a8b + fb46bf7 commit 5196c8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/release/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (r *Release) isLatestVersion() (error, bool) {

func (r *Release) informUserToUpgrade() error {
fmt.Printf("Update required. Current version: %s, Latest version: %s\n\n", r.innerStruct.CurrentVersion, r.innerStruct.LatestTag)
return fmt.Errorf("to upgrade the cloud platform cli, run `brew update && brew upgrade cloud-platform-cli` or grab the latest version from https://github.com/ministryofjustice/cloud-platform-cli/releases")
return fmt.Errorf("to update the Cloud Platform CLI, please refer to the Cloud Platform User Guide https://user-guide.cloud-platform.service.justice.gov.uk/documentation/getting-started/cloud-platform-cli.html#keeping-up-to-date")
}

func (r *myRelease) getLatestReleaseInfo() error {
Expand Down

0 comments on commit 5196c8a

Please sign in to comment.