upgrade

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package upgrade replaces the running mcpify binary with the latest GitHub release: it finds the matching asset, verifies its checksum, and swaps the executable in place.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, current string) (tag string, updated bool, err error)

Run updates the binary to the latest release. current is this build's version. It returns the latest tag and whether an update was applied; updated is false when already current.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL