Release Packaging Guide
This repository separates GitHub repository / documentation files from standalone runtime release files so .github/workflows/release.yml produces a clean, minimal .zip archive for end users.
Automated Release Workflow
Releases are packaged and published automatically by .github/workflows/release.yml:
- Tag Push (
v*.*.*): Pushing a semantic version tag (e.g.,git tag v1.0.0 && git push origin v1.0.0) validates syntax, stages strictly the runtime allowlist, buildsvscode-portable-manager-<tag>.zip+.sha256, uploads workflow artifacts, and publishes a GitHub Release usingsecrets.PAT_TOKEN(withsecrets.GITHUB_TOKENfallback). Tags containing-(e.g.,v1.1.0-beta.1) are automatically marked as prereleases. - Manual Dry Run (
workflow_dispatch): Trigger from the GitHub Actions tab withdry_run: trueto build and download the.zip+.sha256artifacts without publishing a release.
Release Archive Contents (vscode-portable-manager-vX.Y.Z.zip)
Included in Release .zip (Strict Allowlist)
| Path | Purpose in Packaged Release |
|---|---|
README.txt | Standalone plain-text user guide (replaces README.md and docs\ inside the ZIP) |
main.bat | Interactive Windows launcher |
config.ini | Clean generic default manager configuration |
editor.ini | Clean starter personal editor configuration |
profiles\*.ini | All built-in optional settings and extension pack profiles |
src\** | All 4 CLI entrypoints + core\, event\, and utility\ modules |
Excluded from Release .zip (Enforced by Staging Audit)
The workflow actively fails the build if any of the following leak into the staged archive:
*.md(README.md,ROADMAP.md,CHANGELOG.md,SECURITY.md,PRIVACY.md,CONTRIBUTING.md,CODE_OF_CONDUCT.md)docs\**.github\**,.git\**,.gitignorelogs\**(auto-created on first run)plan.txt
Pre-Tag Checklist
- Ensure
config.inicontains generic defaults (D:\tools\{program_name},D:\tools\{tool_name}, blankOptionalProfiles,EditorConfigFile = editor.ini, blankLogFilePrefix). - Confirm
README.txtreflects any new CLI flags, profiles, or portable dependencies. - Move items in
CHANGELOG.mdfrom[Unreleased]into the new version heading. - Confirm CI (
CI Validation & Tests) is green onmain, then tag and push:git tag -a v1.0.0 -m "Release v1.0.0" git push origin v1.0.0