Skip to content

Commit f0f9030

Browse files
author
jiachengzhen
committed
revert(ci): restore openclaw-plugin-publish.yml before workflow_dispatch tweaks
User runs workflow with correct branch via "Use workflow from"; prior yaml changes for allow-same-version and tag-only push are reverted.
1 parent 56675d8 commit f0f9030

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/openclaw-plugin-publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
MEMOS_ARMS_ENV: ${{ secrets.MEMOS_ARMS_ENV }}
101101

102102
- name: Bump version
103-
run: npm version ${{ inputs.version }} --no-git-tag-version --allow-same-version
103+
run: npm version ${{ inputs.version }} --no-git-tag-version
104104

105105
- name: Publish to npm
106106
run: npm publish --access public --tag ${{ inputs.tag }}
@@ -113,9 +113,6 @@ jobs:
113113
git config user.name "github-actions[bot]"
114114
git config user.email "github-actions[bot]@users.noreply.github.com"
115115
git add apps/memos-local-openclaw/package.json
116-
if ! git diff --staged --quiet; then
117-
git commit -m "release: openclaw-plugin v${{ inputs.version }}"
118-
fi
116+
git commit -m "release: openclaw-plugin v${{ inputs.version }}"
119117
git tag "openclaw-plugin-v${{ inputs.version }}"
120-
# main is branch-protected on MemTensor/MemOS — push only the release tag, not HEAD
121-
git push origin "refs/tags/openclaw-plugin-v${{ inputs.version }}"
118+
git push origin HEAD --tags

0 commit comments

Comments
 (0)