Skip to content

fix: avoid prerelease downgrade update hints#296

Merged
peg merged 1 commit intostagingfrom
fix/rc-update-check-staging
May 4, 2026
Merged

fix: avoid prerelease downgrade update hints#296
peg merged 1 commit intostagingfrom
fix/rc-update-check-staging

Conversation

@peg
Copy link
Copy Markdown
Owner

@peg peg commented May 4, 2026

Summary

  • avoid treating the latest stable GitHub release as an update when the installed version is a newer prerelease
  • normalize v prefixes and use semver-aware comparison for update hints
  • keep prerelease/stable update messaging from suggesting a downgrade like 1.0.0-rc.1 → v0.9.22

Verification

  • go test ./... -count=1
  • go vet ./...

@peg peg merged commit 9273773 into staging May 4, 2026
4 checks passed
@peg peg deleted the fix/rc-update-check-staging branch May 4, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant