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 73
73
run : npm install -g @anthropic-ai/dxt
74
74
75
75
- 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
77
79
78
80
- name : Create Release
79
81
uses : softprops/action-gh-release@v1
83
85
prerelease : false
84
86
generate_release_notes : true
85
87
body : |
86
- ## Chrome DevTools Protocol Extension v ${{ github.ref_name }}
88
+ ## Chrome DevTools Protocol Extension ${{ github.ref_name }}
87
89
88
90
### Installation
89
91
1. Download the `.dxt` file from this release
@@ -106,4 +108,4 @@ jobs:
106
108
107
109
For full documentation, see the repository README.
108
110
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
67
67
# Packaging
68
68
package : clean
69
69
@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"
72
73
73
74
# Cleanup
74
75
clean :
You can’t perform that action at this time.
0 commit comments