Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: 💄 update inform user message #640

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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")
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\n\nNote: Most Cloud Platform Users can run the following command to upgrade `brew update && brew upgrade cloud-platform-cli`")
}

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