release
Create a new auto-stack release by tagging a commit and pushing the tag. The GitHub Actions release workflow builds binaries and publishes the release.
- License 许可
- MIT
- 最近更新
- 2026-10-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- release
- license
- MIT
- description
- Create a new auto-stack release by tagging a commit and pushing the tag. The GitHub Actions release workflow builds binaries and publishes the release.
03 SKILL.md 正文
Release
Create a new auto-stack release. The agent's only job is to tag and push — GitHub Actions handles building and publishing.
How It Works
- You push a semver tag (e.g.
v0.8.0) to the repo. - The
.github/workflows/release.ymlworkflow triggers onv*tags. - It cross-compiles the single
autobinary forlinux-amd64anddarwin-arm64. - It creates (or updates) a GitHub Release with the binaries attached.
- Users install via
curl -fsSL https://raw.githubusercontent.com/mistakenot/auto-stack/main/install.sh | bash.
Steps
Step 1: Determine the next version
# Get the latest release tag
LATEST=$(git tag --sort=-v:refname | head -1)
echo "Latest tag: $LATEST"
Check what has changed since the last release:
git log ${LATEST}..HEAD --oneline
Apply semver:
- Patch (v0.7.0 -> v0.7.1): bug fixes only
- Minor (v0.7.0 -> v0.8.0): new features, non-breaking changes
- Major (v0.7.0 -> v1.0.0): breaking changes
Ask the user to confirm the version before proceeding.
Step 2: Verify the build
Run the full build and tests to make sure everything compiles:
make build
make test
Do not proceed if either fails.
Step 3: Tag and push
VERSION="v0.8.0" # use the confirmed version
git tag "$VERSION"
git push origin "$VERSION"
Step 4: Monitor the release
Check that the workflow succeeded:
# Wait a moment for the workflow to start, then check
gh run list --workflow=release.yml --limit=1
If the run fails, check logs with:
gh run view <run-id> --log-failed
Step 5: Verify the release assets
gh release view "$VERSION" --json assets --jq '.assets[].name'
Expected assets (the single auto binary, one per platform):
auto-linux-amd64auto-darwin-arm64
Important
- Do not create releases through the GitHub UI. Always push tags from the CLI. The workflow creates the release.
- Do not force-push or move tags. If a release fails, diagnose and fix the issue, then create a new patch version.
- All binaries must compile before tagging. The CI build will fail if any sub-project has errors.
04 同仓库更多 Skills
release
Create a new auto-stack release by tagging a commit and pushing the tag. The GitHub Actions release workflow builds binaries and publishes the release.
recall
Reconstruct and narrate the current development context from contextual commits. Run at session start, when resuming work, or when switching branches. Produces a brief, conversational summary of where things stand.
readme-updater
Bring a project's README up to date with the current state of the codebase. Audits the existing README for stale commands, dead links, renamed tools, and drifted status claims; surveys what's changed since the README was last touched; rewrites it with verified facts; then commits and pushes. Use this skill whenever the user says "update the README", "the readme is stale", "refresh the README", "rewrite README.md", "add new features to the readme", or otherwise asks for documentation that reflects the current state of the project. Also trigger when a README clearly hasn't kept pace with the codebase (e.g. recent feature commits not reflected, broken examples).
contextual-commit
Write contextual commits that capture intent, decisions, and constraints alongside code changes. Use when committing code, finishing a task, or when the user asks to commit. Extends Conventional Commits with structured action lines in the commit body that preserve WHY code was written, not just WHAT changed.
deploy-checklist
A pre-deployment checklist for safe releases.
code-review
Structured code review with severity labels.