Skip to content

πŸ™Œ OpenHands: AI-Driven Development

docs: update README version to 1.0.0-alpha.8 and add README step to release skill (#931)

Rohit Malhotra6d1e793e6e0e
diff --git a/.agents/skills/release.md b/.agents/skills/release.md
index b478be04e0..951d7f2409 100644
--- a/.agents/skills/release.md
+++ b/.agents/skills/release.md
@@ -59,22 +59,31 @@ npm version <version> --no-git-tag-version
This updates both files without creating a git tag (the tag is created automatically on merge).
+### 2c. Update version references in README.md
+
+The `README.md` contains Docker image tags that reference a specific version (e.g., `ghcr.io/openhands/agent-canvas:<version>`). Update **all** version references in `README.md` to match the new release version:
+
+```bash
+# Find and replace the old version tag with the new one
+sed -i 's/ghcr.io\/openhands\/agent-canvas:[0-9]*\.[0-9]*\.[0-9]*[^ ]*/ghcr.io\/openhands\/agent-canvas:<version>/g' README.md
+```
+
Verify the change:
```bash
git diff --stat
-# Should show: package.json and package-lock.json changed
+# Should show: package.json, package-lock.json, and README.md changed
```
-### 2c. Commit and push
+### 2d. Commit and push
```bash
-git add package.json package-lock.json
+git add package.json package-lock.json README.md
git commit -m "chore: bump version to <version>"
git push -u origin rel-<version>
```
-### 2d. Create the PR
+### 2e. Create the PR
Create the PR targeting `main` with the `e2e-tests` label:
@@ -87,6 +96,7 @@ This PR bumps the version to **<version>** for release.
### Release Checklist
- [x] Version bumped in package.json and package-lock.json
+- [x] Version references updated in README.md
- [ ] CI passes (lint, test, build)
- [ ] Visual snapshot tests pass
- [ ] Mock-LLM E2E tests pass (triggered by \`e2e-tests\` label)
diff --git a/README.md b/README.md
index 1ee23823ae..0e72a0b3d9 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ agent-canvas
### Option 2: With a Docker Sandbox
```sh
-docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.6
+docker pull ghcr.io/openhands/agent-canvas:1.0.0-alpha.8
export PROJECTS_PATH=~/projects # directory containing your project folders
@@ -61,7 +61,7 @@ docker run -it --rm \
-p 8000:8000 \
-v ~/.openhands:/home/openhands/.openhands \
-v ${PROJECTS_PATH}:/projects \
- ghcr.io/openhands/agent-canvas:1.0.0-alpha.6
+ ghcr.io/openhands/agent-canvas:1.0.0-alpha.8
```
The agent will be able to access any project under `PROJECTS_PATH`.