diff --git a/README.md b/README.md index b4916fbf..9d5366ff 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The command line tools for the Agentuity Agent Cloud Platform. These tools are You can install the CLI using the install script (Linux, macOS, or WSL): ```bash -curl -fsSL https://agentuity.sh/install.sh | sh +curl -fsS https://agentuity.sh | sh ``` If you are on a Mac, you can install the CLI using Homebrew (by default, the install script will use Homebrew if it is installed and not disabled): @@ -30,7 +30,7 @@ brew install agentuity/tap/agentuity You can force the install script to use the direct binary install (not Homebrew) with: ```bash -curl -fsSL https://agentuity.sh/install.sh | sh -s -- --no-brew +curl -fsS https://agentuity.sh | sh -s -- --no-brew ``` **Windows:** Native Windows installation is no longer supported. Please use [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/) and run the install script from your WSL terminal. diff --git a/internal/bundler/upgrade.go b/internal/bundler/upgrade.go index 1e7fb9e0..db13035a 100644 --- a/internal/bundler/upgrade.go +++ b/internal/bundler/upgrade.go @@ -5,6 +5,7 @@ import ( "fmt" "os" "path/filepath" + "strings" "github.com/Masterminds/semver" "github.com/agentuity/cli/internal/util" @@ -70,7 +71,7 @@ func checkForBreakingChanges(ctx BundleContext, language string, runtime string) } for _, pkg := range lockfile.Packages { ctx.Logger.Trace("Checking for breaking changes in %s", pkg.Name) - if pkg.Name == "agentuity" { + if pkg.Name == "agentuity" && !strings.Contains(pkg.Version, "+") { currentVersion := semver.MustParse(pkg.Version) for _, change := range breakingChanges { if change.Runtime != runtime { @@ -103,6 +104,9 @@ func checkForBreakingChanges(ctx BundleContext, language string, runtime string) if err := json.Unmarshal(content, &pkg); err != nil { return err } + if strings.Contains(pkg.Version, "-pre") { + return nil + } currentVersion := semver.MustParse(pkg.Version) for _, change := range breakingChanges { if change.Runtime != runtime {