Skip to content

feat: add verified alab self-upgrade - #8

Open
harshitsinghbhandari wants to merge 1 commit into
mainfrom
ao/agentlab-in-12/upgrade
Open

harshitsinghbhandari wants to merge 1 commit into
mainfrom
ao/agentlab-in-12/upgrade

Conversation

@harshitsinghbhandari

Copy link
Copy Markdown
Member

Closes #6

Changes

  • Add alab upgrade for the latest stable GitHub release or a selected tag.
  • Select the current macOS or Linux archive, verify its SHA-256 against the release manifest, validate the extracted executable, and swap it into place.
  • Add --check and guarded --force behavior, plus usage documentation.

Verification

  • bun install --frozen-lockfile
  • bun run verify:pins
  • bun run test (11 passed)
  • bun run build
  • bun run test:binary
  • Live alab upgrade --check against GitHub Releases.
  • Full v1.0.0 update on a disposable compiled binary using the published archive.

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.

feat: alab upgrade (self-update from GitHub Releases)

1 participant