This repository is prepared for NextWeb4/code-relay.
Requirements:
GITHUB_TOKENorGH_TOKENset to a token that can create/pushNextWeb4/code-relayand upload releases.- Local release assets already generated in
release-assets/.
Run:
$env:GITHUB_TOKEN = '<token>'
powershell -ExecutionPolicy Bypass -File scripts/publish-release-api.ps1The script verifies the clean Git state, creates NextWeb4/code-relay when missing, pushes main and v1.0.0, then creates the GitHub Release with files from release-assets/. It uses a temporary Git HTTP header and does not write the token to .git/config.
If GitHub CLI is installed and authenticated, this wrapper can be used:
powershell -ExecutionPolicy Bypass -File scripts/publish-release.ps1code-relay-v1.0.0-win-x64.execode-relay-v1.0.0-windows-portable.zipSHA256SUMS.txt