feat: public releases, update defaults, and update hint on errors#16
Merged
feat: public releases, update defaults, and update hint on errors#16
Conversation
… hint on errors - Add tagged-release.yml workflow: creates proper semver GitHub releases when a v* tag is pushed (builds all 6 platform binaries with version injection, checksums, and auto-generated release notes) - Change upgrade command and install script defaults from "latest-prerelease" to "latest" so they pull from public non-prerelease releases - When a command fails and the CLI is outdated, append a note suggesting that updating may resolve the issue Addresses: EWT-4562, EWT-4563, EWT-4564, EWT-4566
sfishel18
approved these changes
Apr 6, 2026
peterfoldes
reviewed
Apr 6, 2026
| fmt.Fprintln(os.Stderr, "") | ||
| fmt.Fprintln(os.Stderr, version.FormatNotice(result)) | ||
| if execErr != nil { | ||
| fmt.Fprintln(os.Stderr, "Note: your CLI is out of date. Run `wherobots upgrade` to update — it may resolve this issue.") |
There was a problem hiding this comment.
nit: I think FormatNotice kinda has this, but I'm not really sure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses four related tickets for making the CLI ready for a public repo:
tagged-release.ymlworkflow that creates proper semver GitHub releases when av*tag is pushed (builds all 6 platform binaries, generates checksums, creates non-prerelease GitHub release with auto-generated notes)latest-prereleasetolatestin both theupgradecommand andinstall-release.shscript, so they pull from public non-prerelease releasesChanges
.github/workflows/tagged-release.ymlv*tags, builds binaries with semver version injection, creates proper GitHub releaseinternal/commands/upgrade.golatest-prerelease→latestscripts/install-release.shlatest-prerelease→latest, updated help textmain.goRelease flow after merge
main→ existingrelease.ymlcreates rollinglatest-prerelease(unchanged)v*tag (e.g.,git tag v1.0.0 && git push origin v1.0.0) → newtagged-release.ymlcreates a proper releasewherobots upgradeandinstall-release.shnow pull from the latest non-prerelease release by defaultTest plan
go test ./...passesgo build ./...compileswherobots upgradepulls from the latest proper releaseinstall-release.shworks with--tag latest