@vauxr/openclaw 2026.4.1-2.4 → 2026.4.1-2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,12 +49,12 @@ jobs:
|
|
|
49
49
|
--notes "## What's Changed\n\n<!-- Add release notes here before publishing -->"
|
|
50
50
|
|
|
51
51
|
# On release published: publish to npm
|
|
52
|
-
publish:
|
|
52
|
+
publish-npm:
|
|
53
53
|
if: github.event_name == 'release'
|
|
54
54
|
runs-on: ubuntu-latest
|
|
55
55
|
environment: Production
|
|
56
56
|
permissions:
|
|
57
|
-
contents:
|
|
57
|
+
contents: read
|
|
58
58
|
|
|
59
59
|
steps:
|
|
60
60
|
- uses: actions/checkout@v4
|
|
@@ -82,8 +82,19 @@ jobs:
|
|
|
82
82
|
env:
|
|
83
83
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
84
84
|
|
|
85
|
+
# On release published: publish to ClawHub (independent of npm)
|
|
86
|
+
publish-clawhub:
|
|
87
|
+
if: github.event_name == 'release'
|
|
88
|
+
runs-on: ubuntu-latest
|
|
89
|
+
environment: Production
|
|
90
|
+
permissions:
|
|
91
|
+
contents: read
|
|
92
|
+
|
|
93
|
+
steps:
|
|
94
|
+
- uses: actions/checkout@v4
|
|
95
|
+
|
|
85
96
|
- name: Publish to ClawHub
|
|
86
97
|
run: |
|
|
87
98
|
npm i -g clawhub
|
|
88
99
|
clawhub login --token ${{ secrets.CLAWHUB_TOKEN }} --no-browser
|
|
89
|
-
clawhub package publish .
|
|
100
|
+
clawhub package publish . --source-repo ${{ github.repository }} --source-commit ${{ github.sha }} --source-ref ${{ github.event.release.tag_name }}
|