Skip to content

chore(release): bump versions to v0.3.11 #25

chore(release): bump versions to v0.3.11

chore(release): bump versions to v0.3.11 #25

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
- '!v*-*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verify plugin manifest versions match tag
run: |
expected="${GITHUB_REF_NAME#v}"
for f in plugins/claude-code/.claude-plugin/plugin.json \
plugins/codex/remindb/.codex-plugin/plugin.json \
plugins/gemini-cli/gemini-extension.json \
plugins/openclaw/openclaw.plugin.json \
plugins/opencode/package.json \
plugins/openclaw/package.json; do
actual="$(jq -r '.version' "$f")"
if [ "$actual" != "$expected" ]; then
echo "::error file=$f::version $actual != tag $expected (run scripts/bump-version.sh $GITHUB_REF_NAME and recommit before tagging)"
exit 1
fi
done
# Hermes plugin manifest is YAML, not JSON
f=plugins/hermes-agent/memory/remindb/plugin.yaml
actual="$(sed -nE 's/^version:[[:space:]]*"?([^"[:space:]]+)"?.*/\1/p' "$f")"
if [ "$actual" != "$expected" ]; then
echo "::error file=$f::version $actual != tag $expected (run scripts/bump-version.sh $GITHUB_REF_NAME and recommit before tagging)"
exit 1
fi
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}