mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
fix: use correct npm package names (headroom-openclaw), add config comment block
This commit is contained in:
parent
e81c13fc84
commit
8ba43e9dea
1 changed files with 14 additions and 5 deletions
19
.github/workflows/release.yml
vendored
19
.github/workflows/release.yml
vendored
|
|
@ -1,5 +1,14 @@
|
|||
name: Release
|
||||
|
||||
# ─── Package Registry Configuration ────────────────────────────────────────────
|
||||
# Edit these constants to change package names across all jobs.
|
||||
# They appear inline below — search "headroom-ai" or "headroom-openclaw" to update.
|
||||
#
|
||||
# PyPI: headroom-ai
|
||||
# npm (SDK): headroom-ai
|
||||
# npm (openclaw): headroom-openclaw
|
||||
# GitHub pkg: JerrettDavis/headroom-openclaw
|
||||
#
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
|
@ -74,7 +83,7 @@ jobs:
|
|||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
echo "is_release=true" >> $GITHUB_OUTPUT
|
||||
env:
|
||||
LEVEL: ${{ steps.bump.outputs.level }}
|
||||
LEVEL: ${{ needs.detect-version.outputs.level }}
|
||||
MANUAL_VER: ${{ github.event.inputs.version }}
|
||||
|
||||
build:
|
||||
|
|
@ -162,7 +171,7 @@ jobs:
|
|||
name: dist
|
||||
path: dist/
|
||||
|
||||
- name: Publish sdk/typescript
|
||||
- name: Publish headroom-ai (TypeScript SDK) to npmjs.org
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
|
|
@ -171,7 +180,7 @@ jobs:
|
|||
npm version ${{ needs.detect-version.outputs.version }} --no-git-tag-version
|
||||
npm publish --access public
|
||||
|
||||
- name: Publish openclaw to npmjs.org
|
||||
- name: Publish headroom-openclaw to npmjs.org
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
|
|
@ -189,7 +198,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Node.js
|
||||
- name: Set up Node.js for GitHub Package Registry
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
|
|
@ -201,7 +210,7 @@ jobs:
|
|||
name: dist
|
||||
path: dist/
|
||||
|
||||
- name: Publish openclaw to GitHub Package Registry
|
||||
- name: Publish headroom-openclaw to GitHub Package Registry
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue