diff --git a/README.md b/README.md index 445afee..7e1d0cc 100644 --- a/README.md +++ b/README.md @@ -75,14 +75,32 @@ Linux notes: ## Repository Structure ``` -ns7zip/ +nsis-plugin-ns7zip/ ├── build_plugin.py # Unified build script (all versions) +├── build_zstd.cmd # Build script for 7-zip-zstd variant ├── rebuild_nsis7z1900-src.ps1 # Rebuilds 19.00 sources -├── 7zip-19.00/ # 7-Zip 19.00 modified -├── 7zip-25.01/ # 7-Zip 25.01 modified (ZIP + NSIS handler) -└── 7zip-26.00/ # 7-Zip 26.00 modified (ZIP + NSIS handler) +├── versions/ +│ ├── 19.00/ # 7-Zip 19.00 modified +│ ├── 25.01/ # 7-Zip 25.01 modified (ZIP + NSIS handler) +│ ├── 26.00/ # 7-Zip 26.00 modified (ZIP + NSIS handler) +│ └── 7-zip-zstd/ # 7-Zip zstd fork (submodule) +├── plugins/ # Compiled DLLs output +├── tools/ +│ ├── fix_vcxproj.py # Project file patcher +│ ├── update_gitea_releases.py # Backfill Gitea release bodies (one-shot) +│ ├── release-notes/ # Per-version Markdown snippets +│ ├── linux/ # Linux-specific build helpers +│ └── legacy/ # Old per-version build scripts +└── .github/workflows/ + ├── build.yml # CI: Windows + Linux matrix build + └── release.yml # Release: build artifacts + publish to GitHub & Gitea ``` +## CI / Release Workflow + +- **build.yml** — runs on every push/PR; builds all three configs on Windows (MSBuild) and Linux (MinGW-w64) in parallel. +- **release.yml** — triggered by a `v*` tag push; builds and packages artifacts, creates a GitHub Release with the relevant CHANGELOG section as body, and updates the corresponding Gitea release body via API (`GITEA_TOKEN` secret required). + ## Changes from Original ### NSIS Archive Handler (25.01, 26.00) diff --git a/README_IT.md b/README_IT.md index a8694bc..fe0002c 100644 --- a/README_IT.md +++ b/README_IT.md @@ -75,14 +75,32 @@ Note Linux: ## Struttura Repository ``` -ns7zip/ +nsis-plugin-ns7zip/ ├── build_plugin.py # Script di build unificato (tutte le versioni) +├── build_zstd.cmd # Script di build per la variante 7-zip-zstd ├── rebuild_nsis7z1900-src.ps1 # Ricostruisce sorgenti 19.00 -├── 7zip-19.00/ # 7-Zip 19.00 modificato -├── 7zip-25.01/ # 7-Zip 25.01 modificato (ZIP + NSIS handler) -└── 7zip-26.00/ # 7-Zip 26.00 modificato (ZIP + NSIS handler) +├── versions/ +│ ├── 19.00/ # 7-Zip 19.00 modificato +│ ├── 25.01/ # 7-Zip 25.01 modificato (ZIP + NSIS handler) +│ ├── 26.00/ # 7-Zip 26.00 modificato (ZIP + NSIS handler) +│ └── 7-zip-zstd/ # Fork 7-Zip zstd (submodule) +├── plugins/ # DLL compilate +├── tools/ +│ ├── fix_vcxproj.py # Patcher file di progetto +│ ├── update_gitea_releases.py # Backfill body release Gitea (one-shot) +│ ├── release-notes/ # Snippet Markdown per versione +│ ├── linux/ # Helper build Linux +│ └── legacy/ # Script di build legacy per-versione +└── .github/workflows/ + ├── build.yml # CI: build matrix Windows + Linux + └── release.yml # Release: build artifact + pubblicazione su GitHub e Gitea ``` +## CI / Workflow di Release + +- **build.yml** — eseguito ad ogni push/PR; compila le tre configurazioni su Windows (MSBuild) e Linux (MinGW-w64) in parallelo. +- **release.yml** — triggerato dal push di un tag `v*`; compila e pacchettizza gli artifact, crea la GitHub Release con la sezione CHANGELOG come body, e aggiorna il body della corrispondente release Gitea via API (richiede il secret `GITEA_TOKEN`). + ## Modifiche rispetto all'originale ### NSIS Archive Handler (25.01, 26.00)