Skip to content

Commit c91e923

Browse files
committed
build(release): fix Windows WiX prerelease bug and GitHub Token release permissions
1 parent b62a672 commit c91e923

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88

99
jobs:
1010
release:
11+
permissions:
12+
contents: write
1113
strategy:
1214
fail-fast: false
1315
matrix:

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [1.0.0-rc.3] - 2026-04-22
5+
## [1.0.0] - 2026-04-22
66

77
### Added
88
- **Dynamic Compute Rationing (Fuel)**: Implemented an intelligent Wasmtime fuel allocation engine that scales dynamically with compressed archive size. Safely supports massive (e.g., 50GB) legitimate archives while instantly terminating highly-compressed zero-day logic bombs.
99
- **RAR RTLO/Unicode Validation Hook**: Added the missing `SecurityContext::is_safe_path` check to the RAR extraction pipeline, successfully clamping down on Unicode Right-to-Left Override spoofing payloads inside `.rar` containers.
1010
- **Enterprise Compliance Section**: Synchronized physical `docs/index.html` and `README.md` to officially declare ZDefuser's Third-Party Notices automated generation schema for MIT/Apache/BSD enterprise adoption.
1111

1212
### Changed
13+
- **Windows MSI Bundler Compatibility**: Bumped the release tag format strictly to `1.0.0` (removing the `-rc.X` pre-release identifier) because the Windows WiX compiler engine rigidly rejects non-numeric pre-release strings during MSI package generation, resulting in a 65535 overflow error.
14+
- **GitHub Actions Security Tokens**: Explicitly elevated `GITHUB_TOKEN` privileges inside `.github/workflows/release.yml` with `permissions: contents: write` so that the cloud runners are legally authorized to publish drafted assets to the GitHub Releases page.
1315
- **Submodule Vendoring (CI Resiliency)**: Fully decoupled ZDefuser from the external GitHub repository for the `rar` library by permanently vendoring its patched source code into our native Git tree. This immediately rectifies the `fatal: No url found for submodule path` errors across all GitHub Actions builder matrices by preventing reliance on broken or untracked upstream Git modules.
1416
- **Housekeeping & Git Tree Optimization**: Conducted a final repository sweep to scrub orphaned artifacts and temporary test scripts (`test_rar_pwd.rs`, `test_rar_src.rs`) that were accidentally tracked. Revamped `.gitignore` to implement robust enterprise-grade exclusions across macOS `.DS_Store`, Windows `Thumbs.db`, Rust specific target patterns, and Vite/Jest telemetry, guaranteeing that future code pushes remain perfectly sterile.
1517
- **CI/CD Build Pipeline (Multi-Platform Releases)**: Integrated a comprehensive GitHub Actions workflow (`.github/workflows/release.yml`) to automatically compile and package enterprise-grade releases for Windows (`.msi`, `.exe`) and Linux (`.AppImage`, `.deb`) directly on native cloud runners. This circumvents macOS cross-compilation linker failures (e.g., missing MSVC / WebKit2GTK dependencies) and natively generates Zero-Trust extraction packages directly attached to GitHub Releases.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zdefuser",
33
"private": true,
4-
"version": "1.0.0-rc.3",
4+
"version": "1.0.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "ZDefuser",
4-
"version": "1.0.0-rc.3",
4+
"version": "1.0.0",
55
"identifier": "com.zdefuser.dev",
66
"build": {
77
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)