원클릭으로
release
Automate the full hoverfly release process — version bump, GitHub release, wait for CI, trigger Homebrew update.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Automate the full hoverfly release process — version bump, GitHub release, wait for CI, trigger Homebrew update.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | release |
| description | Automate the full hoverfly release process — version bump, GitHub release, wait for CI, trigger Homebrew update. |
| disable-model-invocation | true |
Release version: $ARGUMENTS
grep 'hoverfly.version' core/hoverfly.go | grep -o 'v[0-9]*\.[0-9]*\.[0-9]*'git branch --show-currentgit status --porcelain | wc -l | xargsExecute the following phases in order. Confirm with the user before moving to each phase. Stop immediately if any step fails.
$ARGUMENTS matches the pattern vX.Y.Z (e.g. v1.13.0). If not, stop and ask the user for a valid version.git status --porcelain is empty) and the current branch is master. If not, stop and tell the user.make update-version VERSION=$ARGUMENTSgit push origin masterTell the user the version commit has been pushed and that a CircleCI build has been triggered (no need to wait for it).
gh release create $ARGUMENTS --generate-notes --target master
deploy-release job, which will build cross-platform binaries and Docker images. This typically takes 20+ minutes.Poll once per minute until all 7 expected zip bundles appear in the release assets. The expected files are:
hoverfly_bundle_OSX_amd64.ziphoverfly_bundle_OSX_arm64.ziphoverfly_bundle_windows_amd64.ziphoverfly_bundle_windows_386.ziphoverfly_bundle_linux_amd64.ziphoverfly_bundle_linux_386.ziphoverfly_bundle_linux_arm64.zipTo check, run this (counts how many of the 7 expected bundles are present). It is shell-agnostic — works in sh, bash, and zsh:
gh release view $ARGUMENTS --json assets --jq '.assets[].name' > /tmp/hf_release_assets.txt
printf '%s\n' \
hoverfly_bundle_OSX_amd64.zip \
hoverfly_bundle_OSX_arm64.zip \
hoverfly_bundle_windows_amd64.zip \
hoverfly_bundle_windows_386.zip \
hoverfly_bundle_linux_amd64.zip \
hoverfly_bundle_linux_386.zip \
hoverfly_bundle_linux_arm64.zip \
| grep -Fxf - /tmp/hf_release_assets.txt | wc -l | xargs
NOTE: Keep the count shell-agnostic. The command above relies only on POSIX features (
printf, a pipe,grep -Fxf -reading patterns from stdin, a temp file) — no process substitution<(...), no arrays, no unquoted word-splitting. Do NOT count withfor e in $expected; do grep -qx "$e"; done: in zsh, unquoted$expectedis NOT word-split, so the loop runs once over the whole string and always reports0/7.
Each poll iteration:
Once all 7 assets are confirmed:
gh workflow run homebrew-bump-formula.yml -f version=$ARGUMENTS
SpectoLabs/homebrew-tap.Summarize what was completed:
$ARGUMENTSSpectoLabs/homebrew-tap