Skip to content

Commit 10babe3

Browse files
committed
chore: bump version to 1.1.0 and add tag-version consistency check to CD
1 parent a8d5e00 commit 10babe3

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ jobs:
2222

2323
- run: npm ci
2424

25+
- name: Verify tag matches package version
26+
run: |
27+
TAG_VERSION="${GITHUB_REF_NAME#v}"
28+
PKG_VERSION="$(node -p "require('./package.json').version")"
29+
if [ "$TAG_VERSION" != "$PKG_VERSION" ]; then
30+
echo "Error: tag version (v$TAG_VERSION) does not match package.json version ($PKG_VERSION)"
31+
exit 1
32+
fi
33+
echo "Version check passed: v$TAG_VERSION == $PKG_VERSION"
34+
2535
- run: npm run typecheck
2636

2737
- run: npm run build

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-agentmemory-launcher",
3-
"version": "1.0.3",
3+
"version": "1.1.0",
44
"description": "OpenCode plugin that auto-starts the agentmemory backend with health-check supervision",
55
"license": "AGPL-3.0-only",
66
"author": "Cle2ment",

0 commit comments

Comments
 (0)