Skip to content

feat: add an update command for self updating#847

Merged
mcncl merged 1 commit into
mainfrom
feat/update_command
Jun 5, 2026
Merged

feat: add an update command for self updating#847
mcncl merged 1 commit into
mainfrom
feat/update_command

Conversation

@mcncl

@mcncl mcncl commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Description

Adds a command so that users can run bk update to update to the latest version, when the binary is used, or updates message for updating via brew or mise

Changes

  • introduces an update command for use via bk update
    • outputs message for updatign when brew or mise used instead
  • adds an internal update package which determines if self updating can be used
  • adds testing

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with go fmt ./...)

Disclosures / Credits

Used Codex locally to review the changes and provide feedback on use of idiomatic Go.

@mcncl mcncl requested review from a team as code owners June 2, 2026 00:27
@mcncl mcncl merged commit 5961573 into main Jun 5, 2026
3 checks passed
@mcncl mcncl deleted the feat/update_command branch June 5, 2026 21:29
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.

2 participants