-
Notifications
You must be signed in to change notification settings - Fork 0
91 lines (76 loc) · 3.02 KB
/
release.yml
File metadata and controls
91 lines (76 loc) · 3.02 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Publish Release
on:
push:
branches:
- main
- master
jobs:
build-and-release:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, '[RELEASE]')
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Create Extension ZIP
run: |
cd extension
zip -r ../bautilus-extension.zip .
cd ..
- name: Create Server ZIP
run: |
# Creamos una carpeta temporal para organizar el zip del servidor
mkdir bautilus-server
cp -r server/* bautilus-server/
cp setup-macos-startup.sh bautilus-server/
cp setup-windows-startup.ps1 bautilus-server/
cp setup-linux-startup.sh bautilus-server/
zip -r bautilus-server.zip bautilus-server
rm -rf bautilus-server
- name: Generate Release Tag
id: tag
run: echo "tag_name=v$(date +'%Y.%m.%d-%H%M%S')" >> $GITHUB_OUTPUT
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.tag.outputs.tag_name }}
name: Release ${{ steps.tag.outputs.tag_name }}
draft: false
prerelease: false
files: |
bautilus-extension.zip
bautilus-server.zip
body: |
## 🚀 Bautilus: Multi-platform Release
This release contains the Bautilus components ready for installation on **Windows**, **Linux**, and **macOS**.
### 1. Extension Installation (Browser)
1. Download and extract `bautilus-extension.zip`.
2. Open your browser (Chrome, Brave, Edge, etc.) and go to the extensions management page: `chrome://extensions`.
3. Enable **"Developer mode"** in the top right corner.
4. Click on **"Load unpacked"**.
5. Select the folder you just extracted.
### 2. Server Configuration (Node.js)
1. Download and extract `bautilus-server.zip`.
2. Ensure you have **Node.js** installed on your system.
3. Open a terminal in the extracted folder and run:
```bash
npm install
```
### 🏁 Automated Startup Setup
#### 🍎 macOS:
1. Grant execution permissions: `chmod +x setup-macos-startup.sh`
2. Run: `./setup-macos-startup.sh`
#### 🪟 Windows:
1. Open PowerShell as Administrator.
2. Run: `.\setup-windows-startup.ps1`
#### 🐧 Linux:
1. Grant execution permissions: `chmod +x setup-linux-startup.sh`
2. Run: `./setup-linux-startup.sh`
#### 🛠️ Manual Startup (Any OS):
If you prefer to start it manually:
```bash
node index.js
```
---
*Automatically generated by GitHub Actions*