1- name : Build Release
1+ name : Build and Publish Release
22
33on :
44 workflow_dispatch :
55 push :
66 tags :
77 - " v*"
88
9+ permissions :
10+ contents : write
11+
912jobs :
1013 build-linux :
1114 name : Build Linux
2629
2730 - name : Install npm dependencies
2831 run : npm ci
29-
32+
3033 - name : Build renderer
3134 run : npx vite build --config src/renderer/vite.config.ts
3235
4144 dist/*.AppImage
4245 dist/*.deb
4346 dist/*.rpm
44- dist/latest-linux.yml
4547
4648 build-windows :
4749 name : Build Windows
@@ -60,15 +62,77 @@ jobs:
6062
6163 - name : Build renderer
6264 run : npx vite build --config src/renderer/vite.config.ts
63-
64- - name : Build Windows installer
65- run : npx electron-builder --win nsis --publish never
65+
66+ - name : Build Windows installer and portable builds
67+ run : npx electron-builder --win nsis portable zip --publish never
6668
6769 - name : Upload Windows artifacts
6870 uses : actions/upload-artifact@v4
6971 with :
7072 name : zap-browser-windows
7173 path : |
7274 dist/*.exe
75+ dist/*.zip
7376 dist/*.blockmap
74- dist/latest.yml
77+
78+ publish-release :
79+ name : Publish GitHub Release
80+ runs-on : ubuntu-24.04
81+ needs :
82+ - build-linux
83+ - build-windows
84+
85+ steps :
86+ - uses : actions/download-artifact@v4
87+ with :
88+ path : release-artifacts
89+
90+ - name : Create release notes
91+ run : |
92+ cat > RELEASE_NOTES.md <<'NOTES'
93+ ## Zap Browser v0.3.6-beta
94+
95+ UX, privacy and release-infrastructure update.
96+
97+ ### Added
98+ - Built-in update checker
99+ - Version badge in the main browser UI
100+ - Startup notification when a new release is available
101+ - Theme engine with multiple selectable themes
102+ - Session-only NIP-07 permissions
103+ - Clear all NIP-07 permissions action
104+ - Improved popup, popunder and overlay blocking
105+ - Basic aggressive ad skin cleanup
106+
107+ ### Improved
108+ - English is now the default language
109+ - Language switching is reactive across key UI areas
110+ - Settings/About version display
111+ - GitHub Actions release automation
112+ - Linux and Windows release packaging
113+
114+ ### Builds
115+ - Linux AppImage
116+ - Debian package
117+ - RPM package
118+ - Windows NSIS installer
119+ - Windows portable/zip builds
120+
121+ ### Notes
122+ This is still beta software intended for testing and feedback.
123+
124+ Windows builds are experimental.
125+ NOTES
126+
127+ - name : Publish release
128+ uses : softprops/action-gh-release@v2
129+ with :
130+ name : Zap Browser ${{ github.ref_name }} — Themes, Updates & Privacy Hardening
131+ body_path : RELEASE_NOTES.md
132+ files : |
133+ release-artifacts/**/*.AppImage
134+ release-artifacts/**/*.deb
135+ release-artifacts/**/*.rpm
136+ release-artifacts/**/*.exe
137+ release-artifacts/**/*.zip
138+ release-artifacts/**/*.blockmap
0 commit comments