Agent Skill · Apollo Config

apollo-release

Automate Apollo server formal release operations end-to-end with checkpoint-gated external actions and resume support. Use when preparing a non-SNAPSHOT Apollo release in apolloconfig/apollo, creating release PR/prerelease, triggering GitHub Action package and docker publish workflows, promoting release, posting announcement discussion, and opening post-release SNAPSHOT PR.

Provider: Apollo Config Path in repo: apollo-release/SKILL.md

Skill body

Apollo Release

Run this skill when you want to execute the Apollo server formal release workflow in a controlled and resumable way.

Workflow Contract

Command Entry

python3 scripts/release_flow.py run \
  --release-version X.Y.Z \
  --next-snapshot A.B.C-SNAPSHOT \
  --highlight-prs PR_ID_1,PR_ID_2,PR_ID_3 \
  [--state-file .git/apollo-release-state.json] \
  [--previous-tag vP.Q.R] \
  [--target-branch master] \
  [--confirm-checkpoint CHECKPOINT]

Use --target-branch 2.x for maintenance-line releases. If omitted, the flow targets master.

Supported checkpoints

If execution stops at a checkpoint, rerun with --confirm-checkpoint <NAME>.

Step Mapping (1~7)

  1. Bump root pom.xml revision from X.Y.Z-SNAPSHOT to X.Y.Z, create release branch/commit/PR draft.
  2. Wait for release PR merge, generate release note and announcement drafts from CHANGES.md, and create GitHub prerelease (vX.Y.Z, target --target-branch).
  3. Trigger .github/workflows/release-packages.yml with JDK 8 build in GitHub Action; workflow uploads three zip packages and three sha1 assets to release.
  4. Verify release assets exist in release page after package workflow succeeds.
  5. Trigger .github/workflows/docker-publish.yml on --target-branch with release version and wait for completion.
  6. Promote prerelease to official release, mark it as latest, and publish announcement discussion in Announcements.
  7. Post-release housekeeping: bump to next SNAPSHOT, archive CHANGES.md, auto-manage milestones, and open post-release PR.

Scripts

Referencee

Operational Notes