Skip to content

Commit 26d2aaf

Browse files
committed
chore: publish both @open-gitagent/gapman and unscoped gapman via CI
v0.3.2 — add a second publish step in publish.yml that flips the package.json name to unscoped 'gapman' and publishes it as an alias. Token updated to cover both.
1 parent a70a6a1 commit 26d2aaf

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,14 @@ jobs:
2323
- run: npm run build
2424
- run: npm test
2525

26-
- run: npm publish --provenance --access public
26+
- name: Publish @open-gitagent/gapman (scoped)
27+
run: npm publish --provenance --access public
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
31+
- name: Publish gapman (unscoped alias)
32+
run: |
33+
node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));p.name='gapman';fs.writeFileSync('package.json',JSON.stringify(p,null,2));"
34+
npm publish --provenance --access public
2735
env:
2836
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-gitagent/gapman",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "GitAgentProtocol (GAP) Manager — framework-agnostic, git-native standard for defining AI agents",
55
"type": "module",
66
"bin": {

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const program = new Command();
1818
program
1919
.name('gapman')
2020
.description('GitAgentProtocol (GAP) Manager — framework-agnostic, git-native standard for defining AI agents')
21-
.version('0.3.1');
21+
.version('0.3.2');
2222

2323
program.addCommand(initCommand);
2424
program.addCommand(validateCommand);

0 commit comments

Comments
 (0)