Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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, builds vscode-portable-manager-<tag>.zip + .sha256, uploads workflow artifacts, and publishes a GitHub Release using secrets.PAT_TOKEN (with secrets.GITHUB_TOKEN fallback). 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 with dry_run: true to build and download the .zip + .sha256 artifacts without publishing a release.

Release Archive Contents (vscode-portable-manager-vX.Y.Z.zip)

Included in Release .zip (Strict Allowlist)

PathPurpose in Packaged Release
README.txtStandalone plain-text user guide (replaces README.md and docs\ inside the ZIP)
main.batInteractive Windows launcher
config.iniClean generic default manager configuration
editor.iniClean starter personal editor configuration
profiles\*.iniAll 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\**, .gitignore
  • logs\** (auto-created on first run)
  • plan.txt

Pre-Tag Checklist

  1. Ensure config.ini contains generic defaults (D:\tools\{program_name}, D:\tools\{tool_name}, blank OptionalProfiles, EditorConfigFile = editor.ini, blank LogFilePrefix).
  2. Confirm README.txt reflects any new CLI flags, profiles, or portable dependencies.
  3. Move items in CHANGELOG.md from [Unreleased] into the new version heading.
  4. Confirm CI (CI Validation & Tests) is green on main, then tag and push:
    git tag -a v1.0.0 -m "Release v1.0.0"
    git push origin v1.0.0