Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ocvm"
version = "0.1.1"
version = "0.2.0"
edition = "2021"
description = "OpenClaw Version Manager"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 7 additions & 4 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/check-release-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion site/src/content.ts
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
Loading