AgentStack
SKILL verified MIT Self-run

Swarmux Release Playbook

skill-ghillb-swarmux-swarmux-release-playbook · by ghillb

Execute and verify GitHub Releases for this repo. Use when the user asks to cut a release, publish artifacts, trigger release workflow, or check why a release did not publish.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-ghillb-swarmux-swarmux-release-playbook

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Swarmux Release Playbook? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Release Playbook

Run only the minimum commands needed to publish a release.

Preflight First

Before triggering anything, inspect three states:

  1. Latest published tag.
gh release list --limit 1
  1. Version on main.
gh api repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/contents/Cargo.toml?ref=main --jq .content | base64 -d | sed -n '1,20p'
  1. Open release PRs.
gh pr list --state open --search "release in:title"

Interpretation:

  • If main's Cargo.toml version is behind the latest published tag, main has not caught up to already-published state yet.
  • If an open release PR version is less than or equal to the latest published tag, that PR is stale/catch-up only. Merging it will not publish a new release; it only advances main to already-published state.
  • Only expect a publish after main reflects the latest published version and the next release PR targets a strictly newer version.

Release Now

  1. Run preflight first.
  2. If there is an open release PR whose version is less than or equal to the latest published tag, merge it first. Repeat preflight until any remaining open release PR targets a version greater than the latest published tag.
  3. If there is an open release PR whose version is greater than the latest published tag, merge that PR, then trigger release on main.
gh workflow run Release --ref main
  1. If there is no open release PR and main's version equals the latest published tag, trigger release on main to let release-pr open the next release PR. Then merge that PR and trigger release again.
  2. Watch latest run.
gh run list --workflow Release --limit 1
gh run watch  --exit-status
  1. If run opened/updated release PR but no artifacts were published:
gh pr list --state open --search "release in:title"

Merge that release PR, then trigger release workflow again:

gh workflow run Release --ref main
  1. If the post-merge run still publishes nothing and the release job log shows Already published - Tag ... already exists, the merged release PR was stale/catch-up. Merge the newly opened release PR and trigger Release again until a new tag is published.

Verify Published Release

gh release list --limit 5
gh release view  --json tagName,name,publishedAt,url,assets

Inspect Why It Skipped

gh run view  --json jobs
gh run view  --job  --log

Look for:

  • release_output: {"releases":[]} means no publish happened.
  • dist-* jobs skipped means no release tag output from release.
  • Already published - Tag ... already exists means the merged release PR targeted a version that was already released; expect a newer release PR to be created.
  • A release page can appear before assets upload finishes; only call assets uploaded after upload-release succeeds.

Always report:

  • run URL
  • whether a PR was created/updated
  • release tag published
  • assets uploaded

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.