mcpbeat

Create Release

azure/create-release

Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
908
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Azure/azure-service-operator --skill create-release

The instruction itself

15 sections, as written by the author

Create ASO Release

This skill automates the end-to-end process of creating a new Azure Service Operator release. It runs pre-checks, generates release notes, creates a draft GitHub release, updates documentation, and opens a docs PR.

Determine the version

Determine the new version number by examining the latest release tag:

git describe --tags $(git rev-list --tags='v2*' --max-count=1) --match 'v2*'

If the latest tag is v2.19.0, the new version is v2.20.0 (increment the minor version).

Step 1: Pre-checks

All three pre-checks MUST pass before proceeding. If any check fails, STOP and report the failure. Do not continue with release creation.

1a. Pre-release upgrade tests

Check the pre-release upgrade tests workflow:

gh run list --workflow=pre-release-tests.yaml --limit=1 -R Azure/azure-service-operator --json status,conclusion,createdAt,url
  • Must be: conclusion: success
  • Must be within: the last 7 days

1b. Controller CVE scan

Check the scan controller image workflow:

gh run list --workflow=scan-controller-image.yaml --limit=1 -R Azure/azure-service-operator --json status,conclusion,createdAt,url
  • Must be: conclusion: success
  • Must be within: the last 7 days

1c. Experimental release

Check the experimental release:

gh release view experimental -R Azure/azure-service-operator --json tagName,createdAt,isDraft,isPrerelease,assets
  • Must be: published (not draft), all expected assets uploaded (9 assets: 5 asoctl binaries, CRD yaml, operator yaml, multitenant-cluster yaml, multitenant-tenant yaml)
  • Must be recent (within a few days of HEAD)

If any pre-check fails, report which check failed, why, and provide the relevant URL. Do not proceed.

Step 2: Generate release notes

Invoke the create-release-notes skill (defined in .agents/skills/create-release-notes/SKILL.md) to generate polished release notes. This involves:

  • Running scripts/v2/generate-raw-changelog.sh to get the raw changelog
  • Running scripts/v2/generate-raw-changelog.sh --api-only to identify API group changes
  • Formatting the changelog into sections: New resources, Features, Bug fixes, Documentation

Save the release notes to a temp file:

/tmp/aso-<VERSION>-release-notes.md

Step 3: Create draft GitHub release

Use the scripts/v2/create-release.sh script to create a draft release:

scripts/v2/create-release.sh <VERSION> /tmp/aso-<VERSION>-release-notes.md

This creates a draft release on GitHub targeting the main branch. The release must be reviewed and published manually by a human.

Step 4: Update documentation and ROADMAP

Create a local branch and make the following changes:

4a. Update currentRelease in config files

Update supportedResourcesReport.currentRelease to the new version in both:

  • v2/azure-arm.yaml
  • hack/crossplane/azure-crossplane.yaml

4b. Regenerate documentation

Run the code generators to update the resource documentation (moves resources from "Next Release" to "Released"):

./hack/tools/task controller:generate-types
./hack/tools/task crossplane:generate-types
./hack/tools/task doc:crd-api

Note: controller:generate-types takes ~5-7 minutes. doc:crd-api also runs controller:generate-types internally and takes ~10 minutes total. Set generous timeouts (900000ms+).

4c. Update ROADMAP.md

In ROADMAP.md:

  • Add the new version to the "Official Releases" table with today's date
  • Remove the new version from the "Release Cadence & Planning" table
  • Add a new future version to the end of the planning table (2 months after the last entry)

4d. Create the next milestone

Check if the milestone referenced by the new future version in the ROADMAP exists:

gh api repos/Azure/azure-service-operator/milestones --jq '.[] | "\(.number) \(.title)"'

If the milestone does not exist, create it following the pattern of existing milestones:

gh api repos/Azure/azure-service-operator/milestones -f title="v2.XX.0" -f description="" -f due_on="YYYY-MM-DDT00:00:00Z" -f state="open"

4e. Commit and open PR

  • Create a branch named <user>/X.XX-docs (e.g. matthchr/2.20-docs)
  • Commit all changes with message Update docs for <major>.<minor> (e.g. Update docs for 2.20)
  • Push the branch
  • Open a PR against main in Azure/azure-service-operator with:
  • Title: Update docs for <major>.<minor>
  • Body:
     - [x] this PR contains documentation
     - [ ] this PR contains tests
     - [ ] this PR contains YAML Samples

Final Report

At the end of the run, produce a summary report including:

  • Pre-check results:
  • Pre-release upgrade tests: PASS/FAIL, date, [link to run]
  • Controller CVE scan: PASS/FAIL, date, [link to run]
  • Experimental release: PASS/FAIL, date, [link to release]
  • Release:
  • Draft release URL (if created)
  • Documentation PR:
  • PR URL (if created)
  • Remaining manual steps:
  • Review and publish the draft release on GitHub
  • After publishing, verify the release GitHub Action completes successfully
  • Catalog any breaking changes (see docs/hugo/content/contributing/create-a-new-release.md)
  • Perform smoke testing (see same doc)
  • Create a blog post
  • Post a message in the Slack channel

How to use it

Copy the folder

Take azure/create-release from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.