-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (55 loc) · 1.77 KB
/
Copy pathrelease.yml
File metadata and controls
68 lines (55 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: [self-hosted, runnerhub]
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Create release archive
run: |
# Create a clean release package
mkdir -p release/mcp-jarvis
# Copy essential files
cp -r servers config scripts *.json *.md .env.example release/mcp-jarvis/
# Create empty directories
mkdir -p release/mcp-jarvis/data
mkdir -p release/mcp-jarvis/logs
# Create archives
cd release
tar -czf mcp-jarvis-${{ github.ref_name }}.tar.gz mcp-jarvis
zip -r mcp-jarvis-${{ github.ref_name }}.zip mcp-jarvis
cd ..
- name: Create Release
uses: softprops/action-gh-release@v1
with:
files: |
release/mcp-jarvis-${{ github.ref_name }}.tar.gz
release/mcp-jarvis-${{ github.ref_name }}.zip
generate_release_notes: true
body: |
## 🚀 MCP Jarvis ${{ github.ref_name }}
### Installation
1. Download and extract the archive
2. Run `npm install`
3. Run `node scripts/setup.js`
4. Restart your AI assistant (Claude, VSCode, etc.)
### What's New
See the auto-generated release notes below for changes.
### Compatibility
- Claude Desktop ✅
- VSCode + GitHub Copilot ✅
- Visual Studio + Copilot ✅
- Cursor IDE ✅
- Any MCP-compatible tool ✅