Skip to content

Commit c256cfc

Browse files
fix: update GitHub Actions workflow to use modern release action
- Replace deprecated actions/create-release@v1 with softprops/action-gh-release@v2 - Add proper permissions (contents: write, id-token: write) - Update release notes to highlight security improvements - Fix integration permission issues preventing release creation
1 parent 7a3f9cc commit c256cfc

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
id-token: write
1215

1316
steps:
1417
- name: Checkout code
@@ -53,22 +56,26 @@ jobs:
5356
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
5457

5558
- name: Create GitHub Release
56-
uses: actions/create-release@v1
57-
env:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
uses: softprops/action-gh-release@v2
5960
with:
60-
tag_name: ${{ github.ref }}
61-
release_name: Release v${{ steps.version.outputs.VERSION }}
61+
tag_name: v${{ steps.version.outputs.VERSION }}
62+
name: Release v${{ steps.version.outputs.VERSION }}
6263
body: |
6364
## MCP Modus v${{ steps.version.outputs.VERSION }}
6465
66+
### 🔒 Security & Reliability Improvements
67+
- **Pre-bundled Documentation**: All docs included with package - no runtime downloads
68+
- **Enhanced Security**: Removed postinstall hooks for safer installation
69+
- **Offline Operation**: Works completely offline after installation
70+
- **Verified Content**: Documentation verified during CI/CD process
71+
6572
### Features
6673
- 📚 **43 Modus Web Components** documented with complete API references
6774
- 🎨 **6 Design Rule categories** (colors, icons, spacing, typography, breakpoints, radius/stroke)
6875
- ⚙️ **5 Setup guides** (HTML, React, themes, testing, universal rules)
6976
- 🔧 **10 MCP tools** for comprehensive development support
7077
- 🖥️ **Multi-IDE support** (Claude Desktop, Cursor, VS Code)
71-
- 📱 **Offline operation** with bundled documentation
78+
- 📱 **Secure offline operation** with bundled documentation
7279
7380
### Installation Options
7481
@@ -89,13 +96,6 @@ jobs:
8996
npm install -g @julianoczkowski/mcp-modus
9097
```
9198
92-
### What's New in v${{ steps.version.outputs.VERSION }}
93-
- ✨ **6 new MCP tools** for design rules and setup guides
94-
- 📖 **Enhanced documentation** with 54 total files
95-
- 🔄 **Improved download system** fetching from 3 repositories
96-
- 📋 **Simplified README** with clear setup instructions
97-
- 🏗️ **Updated architecture** documentation
98-
9999
### Package Stats
100100
- 54 total documentation files (43 components + 6 rules + 5 setup)
101101
- ~80 KB compressed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@julianoczkowski/mcp-modus",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "MCP server for Modus Web Components documentation, design rules, and setup guides",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)