-
Notifications
You must be signed in to change notification settings - Fork 1
178 lines (136 loc) · 5.08 KB
/
Copy pathbuild-release.yml
File metadata and controls
178 lines (136 loc) · 5.08 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
name: Build and Publish Release
on:
workflow_dispatch:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install Linux dependencies
run: |
sudo apt update
sudo apt install -y libsecret-1-dev rpm
- name: Install npm dependencies
run: npm ci
- name: Build renderer
run: npx vite build --config src/renderer/vite.config.ts
- name: Build Linux packages
run: npx electron-builder --linux AppImage deb rpm --publish never
- name: Upload Linux artifacts
uses: actions/upload-artifact@v4
with:
name: zap-browser-linux
path: |
dist/Zap-Browser-*-linux-*.AppImage
dist/Zap-Browser-*-linux-*.deb
dist/Zap-Browser-*-linux-*.rpm
if-no-files-found: error
build-windows:
name: Build Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Build renderer
run: npx vite build --config src/renderer/vite.config.ts
- name: Build Windows installer and portable ZIP
run: npx electron-builder --win nsis zip --publish never
- name: Upload Windows artifacts
uses: actions/upload-artifact@v4
with:
name: zap-browser-windows
path: |
dist/Zap-Browser-Setup-*.exe
dist/Zap-Browser-Portable-*.zip
if-no-files-found: error
publish-release:
name: Publish GitHub Release
runs-on: ubuntu-24.04
needs:
- build-linux
- build-windows
steps:
- uses: actions/download-artifact@v4
with:
path: release-artifacts
- name: Create release notes
run: |
cat > RELEASE_NOTES.md <<NOTES
# ⚡ Zap Browser ${{ github.ref_name }}
Major milestone focused on browser-core architecture, privacy isolation, packaging reliability, and native browser UX.
## What's new
### Browser Profiles
- Complete multi-profile browser architecture
- Isolated profile sessions
- Independent privacy settings per profile
- Profile manager UI
- Profile creation, rename, switch and delete
- Profile-scoped Nostr identities and permissions
### Privacy
- First phase of profile-based privacy isolation
- Improved anti-CMP and anti-overlay handling
- Explicit paywall preservation
- Safer overlay detection logic
- Reduced DOM observer overhead
### Bookmarks
- Browser bookmark import improvements
- Drag-and-drop bookmark and folder reordering
- Drag current page security icon directly into the bookmarks bar
- Native bookmark bar context menus
- Improved bookmark persistence and migrations
### Browser UX
- Find in page support (Ctrl+F)
- Better navigation failure handling
- Improved settings organization
- Larger and more accessible settings navigation
- Browser profile management integrated into settings
### Reliability
- Hardened migrations across upgrades
- Automatic repair of invalid bookmark structures
- Improved upgrade safety and idempotent migrations
- Expanded automated test coverage
### Packaging
- Linux installation path standardized to /opt/Zap-Browser
- Improved RPM and DEB integration
- Fixed Linux desktop metadata handling
- Fixed WM_CLASS integration
- Fixed Linux icon refresh and taskbar icon behavior
- Simplified Windows release artifacts
- Release smoke-test checklist added
## Downloads
- Linux: AppImage, RPM, DEB
- Windows: Installer EXE and Portable ZIP
## Beta Notice
This is still beta software intended for testing and feedback.
Do not store large amounts of funds inside the browser yet.
## Support the project
- GitHub Sponsors: https://github.com/sponsors/shadowbipnode
- Lightning: zap@shadowbip.com
- Bitcoin: bc1qgppvys2e0zx3r87fvtdytwped3xft385sj9800
NOTES
- name: Publish release
uses: softprops/action-gh-release@v2
with:
name: Zap Browser ${{ github.ref_name }} — Privacy, Tor & Native Browser UX
body_path: RELEASE_NOTES.md
files: |
release-artifacts/**/Zap-Browser-*-linux-*.AppImage
release-artifacts/**/Zap-Browser-*-linux-*.deb
release-artifacts/**/Zap-Browser-*-linux-*.rpm
release-artifacts/**/Zap-Browser-Setup-*.exe
release-artifacts/**/Zap-Browser-Portable-*.zip