Skip to content

The open-source app everyone uses to manage agents at work

release files

Dottacbbf695c35e5
diff --git a/packages/adapters/openclaw-gateway/CHANGELOG.md b/packages/adapters/openclaw-gateway/CHANGELOG.md
new file mode 100644
index 0000000000..8b6357e342
--- /dev/null
+++ b/packages/adapters/openclaw-gateway/CHANGELOG.md
@@ -0,0 +1,12 @@
+# @paperclipai/adapter-openclaw-gateway
+
+## 0.3.0
+
+### Minor Changes
+
+- Stable release preparation for 0.3.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @paperclipai/[email protected]
diff --git a/packages/adapters/pi-local/CHANGELOG.md b/packages/adapters/pi-local/CHANGELOG.md
new file mode 100644
index 0000000000..f7297faaa3
--- /dev/null
+++ b/packages/adapters/pi-local/CHANGELOG.md
@@ -0,0 +1,12 @@
+# @paperclipai/adapter-pi-local
+
+## 0.3.0
+
+### Minor Changes
+
+- Stable release preparation for 0.3.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @paperclipai/[email protected]
diff --git a/scripts/create-github-release.sh b/scripts/create-github-release.sh
index ae82755ab4..fa80852dda 100755
--- a/scripts/create-github-release.sh
+++ b/scripts/create-github-release.sh
@@ -19,6 +19,7 @@ Examples:
Notes:
- Run this after pushing the stable release branch and tag.
+ - Defaults to git remote public-gh.
- If the release already exists, this script updates its title and notes.
EOF
}
@@ -53,13 +54,19 @@ fi
tag="v$version"
notes_file="$REPO_ROOT/releases/${tag}.md"
+PUBLISH_REMOTE="${PUBLISH_REMOTE:-public-gh}"
PUBLISH_REMOTE="$(resolve_release_remote)"
-
if ! command -v gh >/dev/null 2>&1; then
echo "Error: gh CLI is required to create GitHub releases." >&2
exit 1
fi
+GITHUB_REPO="$(github_repo_from_remote "$PUBLISH_REMOTE" || true)"
+if [ -z "$GITHUB_REPO" ]; then
+ echo "Error: could not determine GitHub repository from remote $PUBLISH_REMOTE." >&2
+ exit 1
+fi
+
if [ ! -f "$notes_file" ]; then
echo "Error: release notes file not found at $notes_file." >&2
exit 1
@@ -71,7 +78,7 @@ if ! git -C "$REPO_ROOT" rev-parse "$tag" >/dev/null 2>&1; then
fi
if [ "$dry_run" = true ]; then
- echo "[dry-run] gh release create $tag --title $tag --notes-file $notes_file"
+ echo "[dry-run] gh release create $tag -R $GITHUB_REPO --title $tag --notes-file $notes_file"
exit 0
fi
@@ -80,10 +87,10 @@ if ! git -C "$REPO_ROOT" ls-remote --exit-code --tags "$PUBLISH_REMOTE" "refs/ta
exit 1
fi
-if gh release view "$tag" >/dev/null 2>&1; then
- gh release edit "$tag" --title "$tag" --notes-file "$notes_file"
+if gh release view "$tag" -R "$GITHUB_REPO" >/dev/null 2>&1; then
+ gh release edit "$tag" -R "$GITHUB_REPO" --title "$tag" --notes-file "$notes_file"
echo "Updated GitHub Release $tag"
else
- gh release create "$tag" --title "$tag" --notes-file "$notes_file"
+ gh release create "$tag" -R "$GITHUB_REPO" --title "$tag" --notes-file "$notes_file"
echo "Created GitHub Release $tag"
fi
diff --git a/scripts/release-lib.sh b/scripts/release-lib.sh
index 0247136e5f..d2a3352679 100644
--- a/scripts/release-lib.sh
+++ b/scripts/release-lib.sh
@@ -21,6 +21,35 @@ git_remote_exists() {
git -C "$REPO_ROOT" remote get-url "$1" >/dev/null 2>&1
}
+github_repo_from_remote() {
+ local remote_url
+
+ remote_url="$(git -C "$REPO_ROOT" remote get-url "$1" 2>/dev/null || true)"
+ [ -n "$remote_url" ] || return 1
+
+ remote_url="${remote_url%.git}"
+ remote_url="${remote_url#ssh://}"
+
+ node - "$remote_url" <<'NODE'
+const remoteUrl = process.argv[2];
+
+const patterns = [
+ /^https?:\/\/github\.com\/([^/]+\/[^/]+)$/,
+ /^git@github\.com:([^/]+\/[^/]+)$/,
+ /^[^:]+:([^/]+\/[^/]+)$/
+];
+
+for (const pattern of patterns) {
+ const match = remoteUrl.match(pattern);
+ if (!match) continue;
+ process.stdout.write(match[1]);
+ process.exit(0);
+}
+
+process.exit(1);
+NODE
+}
+
resolve_release_remote() {
local remote="${RELEASE_REMOTE:-${PUBLISH_REMOTE:-}}"