| name | release-workflow |
| description | Use this skill when preparing, validating, or cutting a new version release of shellescape and escargs using GoReleaser and GitHub Actions. |
Release Management Runbook for shellescape
This skill provides step-by-step instructions for releasing a new version of shellescape and escargs.
1. Pre-Release Verification Checklist
Before tagging a release, run all verification steps:
2. Test Local Snapshot Build
Build snapshot binaries for all supported target platforms without publishing:
goreleaser release --snapshot --clean
Inspect the generated binaries in dist/:
- Linux:
dist/escargs_linux_amd64_v1/escargs, dist/escargs_linux_arm64/escargs
- macOS:
dist/escargs_darwin_amd64_v1/escargs, dist/escargs_darwin_arm64/escargs
- Windows:
dist/escargs_windows_amd64_v1/escargs.exe
- FreeBSD:
dist/escargs_freebsd_amd64_v1/escargs
Test the local snapshot binary:
./dist/escargs_darwin_arm64/escargs -V
Clean up snapshot artifacts:
rm -rf dist/
3. Tagging & Releasing
- Determine the next Semantic Version according to changes (e.g.
v1.2.1 for patch, v1.3.0 for minor feature).
- Create an annotated git tag:
git tag -a v1.3.0 -m "Release v1.3.0"
- Push the tag to GitHub:
git push origin v1.3.0
- Monitor the GitHub Actions release workflow (
.github/workflows/release.yaml).
- Verify the published GitHub Release and checksums.