File tree Expand file tree Collapse file tree 5 files changed +55
-10
lines changed
Expand file tree Collapse file tree 5 files changed +55
-10
lines changed Original file line number Diff line number Diff line change 11name : Build Release Package
22
33on :
4- release :
5- types : [published, prereleased]
64 workflow_dispatch :
75 inputs :
86 tag :
4543
4644 - name : Determine release tag
4745 id : release
48- run : |
49- if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
50- echo "tag=${{ github.event.inputs.tag }}" >> "$GITHUB_OUTPUT"
51- else
52- echo "tag=${{ github.event.release.tag_name }}" >> "$GITHUB_OUTPUT"
53- fi
46+ run : echo "tag=${{ github.event.inputs.tag }}" >> "$GITHUB_OUTPUT"
5447
5548 - name : Upload package to release
5649 uses : softprops/action-gh-release@v2
Original file line number Diff line number Diff line change @@ -13,9 +13,53 @@ permissions:
1313jobs :
1414 release-please :
1515 runs-on : ubuntu-latest
16+ outputs :
17+ release_created : ${{ steps.release.outputs.release_created }}
18+ tag_name : ${{ steps.release.outputs.tag_name }}
19+ upload_url : ${{ steps.release.outputs.upload_url }}
1620 steps :
1721 - name : Run release-please
22+ id : release
1823 uses : googleapis/release-please-action@v4
1924 with :
2025 config-file : release-please-config.json
2126 manifest-file : release-please-manifest.json
27+
28+ build-artifact :
29+ name : Build Release Artifact
30+ needs : release-please
31+ if : needs.release-please.outputs.release_created == 'true'
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Checkout
35+ uses : actions/checkout@v4
36+
37+ - name : Setup pnpm
38+ uses : pnpm/action-setup@v3
39+ with :
40+ version : 9
41+ run_install : false
42+
43+ - name : Setup Node.js
44+ uses : actions/setup-node@v4
45+ with :
46+ node-version : ' 20'
47+ cache : ' pnpm'
48+
49+ - name : Install dependencies
50+ run : pnpm install --frozen-lockfile
51+
52+ - name : Prepare build output
53+ run : |
54+ rm -rf build package
55+
56+ - name : Build extension package
57+ run : pnpm run zip
58+
59+ - name : Upload package to release
60+ uses : softprops/action-gh-release@v2
61+ with :
62+ files : package/*.zip
63+ upload_url : ${{ needs.release-please.outputs.upload_url }}
64+ env :
65+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 99 5. version timestamp follow the yyyy.MM.dd format
1010```
1111
12+ ## [ 1.1.0] ( https://github.com/CoderPush/coderchart/compare/v1.0.0...v1.1.0 ) (2025-09-29)
13+
14+
15+ ### Features
16+
17+ * Add copy-to-clipboard fix prompt to Mermaid error notice ([ #2 ] ( https://github.com/CoderPush/coderchart/issues/2 ) ) ([ 7fb5785] ( https://github.com/CoderPush/coderchart/commit/7fb57851b6767cf83e5e338c51c5d9afa6862efa ) )
18+ * add diagram/code toggles for Mermaid blocks ([ #7 ] ( https://github.com/CoderPush/coderchart/issues/7 ) ) ([ 90c460f] ( https://github.com/CoderPush/coderchart/commit/90c460f65f5efe95c28cc4ce57b9d105606e5517 ) )
19+
1220## 1.0.0 (2025-09-26)
1321
1422
Original file line number Diff line number Diff line change 11{
22 "name" : " coderchart" ,
33 "displayName" : " coderchart" ,
4- "version" : " 1.0 .0" ,
4+ "version" : " 1.1 .0" ,
55 "author" : " harley" ,
66 "description" : " Chrome extension that auto-renders Mermaid diagrams on ChatGPT with inline downloads." ,
77 "type" : " module" ,
Original file line number Diff line number Diff line change 11{
2- "." : " 1.0 .0"
2+ "." : " 1.1 .0"
33}
You can’t perform that action at this time.
0 commit comments