Skip to content

Show an update notice when a newer release is available - #25

Draft
tarunspandit wants to merge 1 commit into
tailscale:mainfrom
tarunspandit:codex/aperture-update-check
Draft

Show an update notice when a newer release is available#25
tarunspandit wants to merge 1 commit into
tailscale:mainfrom
tarunspandit:codex/aperture-update-check

Conversation

@tarunspandit

Copy link
Copy Markdown

Show an update notice when a newer release is available

Summary

  1. Check the latest Aperture CLI release during startup without blocking endpoint activation.
  2. Compare stable vX.Y.Z versions and skip development or prerelease builds.
  3. Show the new version and official release URL when the installed release is older.
  4. Ignore request, timeout, parsing, and validation failures so startup behavior remains unchanged.

Testing

  1. go test ./...
  2. go test -race ./...
  3. go vet ./...
  4. go build ./cmd/aperture
  5. git diff --check

Closes #8.

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.

Add a check for latest and show a message when the cli is out of date.

1 participant