File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 7373 run : npm install -g @anthropic-ai/dxt
7474
7575 - name : Package extension for release
76- run : npx @anthropic-ai/dxt pack
76+ run : |
77+ VERSION=$(jq -r '.version' manifest.json)
78+ npx @anthropic-ai/dxt pack . chrome-devtools-protocol-${VERSION}.dxt
7779
7880 - name : Create Release
7981 uses : softprops/action-gh-release@v1
8385 prerelease : false
8486 generate_release_notes : true
8587 body : |
86- ## Chrome DevTools Protocol Extension v ${{ github.ref_name }}
88+ ## Chrome DevTools Protocol Extension ${{ github.ref_name }}
8789
8890 ### Installation
8991 1. Download the `.dxt` file from this release
@@ -106,4 +108,4 @@ jobs:
106108
107109 For full documentation, see the repository README.
108110 env :
109- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
111+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ ci-test: install check
6767# Packaging
6868package : clean
6969 @echo " Building DXT extension package..."
70- npx @anthropic-ai/dxt pack
71- @echo " ✅ Extension packaged: chrome-devtools-protocol-*.dxt"
70+ @VERSION=$$(jq -r '.version' manifest.json ) && \
71+ npx @anthropic-ai/dxt pack . chrome-devtools-protocol-$$ VERSION.dxt && \
72+ echo " ✅ Extension packaged: chrome-devtools-protocol-$$ VERSION.dxt"
7273
7374# Cleanup
7475clean :
You can’t perform that action at this time.
0 commit comments