diff --git a/CHANGELOG.md b/CHANGELOG.md index da65fd0..1606394 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.2.0 - 2026-10-31 + - Added `beta` and `extended-stable` channel resolution, including support for the npm `extended-stable` dist-tag. - Resolved channel names to concrete versions before install so defaults, pins, and `ocvm list` stay reproducible. - Added Node.js runtime checks to install and `doctor` for OpenClaw's current Node 24/26/27 requirements, including prerelease rejection for Node 24/26. diff --git a/Cargo.lock b/Cargo.lock index 2025b10..f4ccb09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -684,7 +684,7 @@ dependencies = [ [[package]] name = "ocvm" -version = "0.1.1" +version = "0.2.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index b45efd3..c10e798 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ocvm" -version = "0.1.1" +version = "0.2.0" edition = "2021" description = "OpenClaw Version Manager" license = "MIT" diff --git a/README.md b/README.md index 1578aaa..c337db4 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,7 @@ For repeatable automation, pin the binary release with `OCVM_VERSION` while using the same installer script: ```bash -curl -fsSL https://ocvm.vercel.app/ocvm/install.sh | OCVM_VERSION=v0.1.1 sh +curl -fsSL https://ocvm.vercel.app/ocvm/install.sh | OCVM_VERSION=v0.2.0 sh ``` Maintainers set `OCVM_INSTALLER_BASE_URL` to the published OSS/CDN prefix during diff --git a/docs/release.md b/docs/release.md index d7a3466..3870d3d 100644 --- a/docs/release.md +++ b/docs/release.md @@ -14,11 +14,14 @@ cargo test cargo package --allow-dirty ``` -3. Create and push a version tag: +3. Bump the version in `Cargo.toml`, `install.sh`, `site/src/content.ts`, and + `scripts/check-release-prep.sh`. There is no automatic version bump; the + `Release` workflow only builds the tag that is pushed. +4. Create and push a version tag: ```bash -git tag v0.1.1 -git push origin v0.1.1 +git tag v0.2.0 +git push origin v0.2.0 ``` The `Release` workflow builds platform binaries, packages archives, generates SHA256 checksum files, and creates a GitHub Release. @@ -36,7 +39,7 @@ export OCVM_INSTALLER_BASE_URL="https://ocvm.vercel.app/ocvm" curl -fsSL "$OCVM_INSTALLER_BASE_URL/install.sh" | sh # Repeatable install pinned to a specific binary release. -curl -fsSL "$OCVM_INSTALLER_BASE_URL/install.sh" | OCVM_VERSION=v0.1.1 sh +curl -fsSL "$OCVM_INSTALLER_BASE_URL/install.sh" | OCVM_VERSION=v0.2.0 sh ``` Override `OCVM_VERSION` to install a different release: diff --git a/install.sh b/install.sh index 49d4e12..d48136c 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -eu REPO="${OCVM_REPO:-PerfectPan/ocvm}" INSTALL_DIR="${OCVM_INSTALL_DIR:-$HOME/.local/bin}" API_BASE="${GITHUB_API_URL:-https://api.github.com}" -INSTALLER_VERSION="v0.1.1" +INSTALLER_VERSION="v0.2.0" VERSION="${OCVM_VERSION:-$INSTALLER_VERSION}" need() { diff --git a/scripts/check-release-prep.sh b/scripts/check-release-prep.sh index 9d2a29e..4671aae 100755 --- a/scripts/check-release-prep.sh +++ b/scripts/check-release-prep.sh @@ -42,8 +42,8 @@ expect_output "asset=ocvm-x86_64-apple-darwin.tar.gz" \ expect_output "asset=ocvm-aarch64-apple-darwin.tar.gz" \ env OCVM_INSTALL_DRY_RUN=1 OCVM_TEST_UNAME_S=Darwin OCVM_TEST_UNAME_M=arm64 ./install.sh -expect_output "api_url=https://api.github.com/repos/PerfectPan/ocvm/releases/tags/v0.1.1" \ - env OCVM_INSTALL_DRY_RUN=1 OCVM_VERSION=v0.1.1 OCVM_TEST_UNAME_S=Darwin OCVM_TEST_UNAME_M=arm64 ./install.sh +expect_output "api_url=https://api.github.com/repos/PerfectPan/ocvm/releases/tags/v0.2.0" \ + env OCVM_INSTALL_DRY_RUN=1 OCVM_VERSION=v0.2.0 OCVM_TEST_UNAME_S=Darwin OCVM_TEST_UNAME_M=arm64 ./install.sh ./scripts/sync-site-installer.sh >/dev/null diff --git a/site/src/content.ts b/site/src/content.ts index f48422e..6162ba9 100644 --- a/site/src/content.ts +++ b/site/src/content.ts @@ -1,4 +1,4 @@ -export const currentRelease = 'v0.1.1' +export const currentRelease = 'v0.2.0' export const repositoryUrl = 'https://github.com/PerfectPan/ocvm' export const releasesUrl = `${repositoryUrl}/releases`