{"slug":"releases-2","title":"releases","summary":"The monthly release of the template - the 1st-of-the-month schedule, the Release Check that skips a month with no changes, the Publish job (SBOM, attestation, NuGet push, GitHub release), version numbers, dry runs and out-of-cycle releases. Use when preparing for a release, rehea","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-27T19:09:11.966279Z","repo":{"url":"https://github.com/LeanMeanCleanApps/CleanGraphQLApi","stars":13,"forks":7,"license":"MIT","updatedAt":"2026-11-25T23:23:22Z"},"bodyHtml":"<hr>\n<h2>name: releases\ndescription: The monthly release of the template - the 1st-of-the-month schedule, the Release Check that skips a month with no changes, the Publish job (SBOM, attestation, NuGet push, GitHub release), version numbers, dry runs and out-of-cycle releases. Use when preparing for a release, rehearsing one, releasing out of cycle, or working out why a release did or didn't happen.\nmetadata:\nscope: repository</h2>\n<h1>Releases</h1>\n<h2>The rule</h2>\n<p>The template releases once a month, on the 1st at 09:17 America/Chicago, from <code>main</code>, with everything merged since the last release. A month where nothing outside <code>.github/</code> changed doesn't release. Nobody publishes by hand: releases only come from the Build Pipeline (<code>ci-pipeline</code>), and only in the LeanMeanCleanApps organisation, so a copy of the template never tries to publish.</p>\n<table>\n<thead>\n<tr>\n<th>When</th>\n<th>What runs</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>The 1st, 09:17 America/Chicago</td>\n<td>The full pipeline on <code>main</code>, then Release Check and Publish</td>\n</tr>\n<tr>\n<td>The 1st, after the release</td>\n<td>The month's numbers are recorded (see After the 1st)</td>\n</tr>\n<tr>\n<td>The 2nd</td>\n<td>The organisation's project board moves the month's work to Released and closes its milestone</td>\n</tr>\n<tr>\n<td>The 15th, 09:17 America/Chicago</td>\n<td>Maintenance: Dependabot's grouped pull request and a scheduled build. No release</td>\n</tr>\n</tbody>\n</table>\n<p>Versions are the build date and run number, <code>YYYY.MM.DD.&lt;run&gt;</code>, like <code>2026.12.01.214</code>. Pull request builds add <code>-pr-&lt;number&gt;</code> and never publish. The milestone for a release is named after its date, like <code>2026.12.01</code>.</p>\n<h2>Steps</h2>\n<h3>What the pipeline does</h3>\n<ol>\n<li><strong>Release Check</strong> runs after Summary passes. It compares <code>HEAD</code> with the latest GitHub release tag, ignoring <code>.github/</code>. No changes means no release, unless <code>force</code> is set.</li>\n<li><strong>Publish</strong> downloads the packed template and logs in to NuGet with trusted publishing (<code>NuGet/login</code>, no stored API key). It publishes the Presentation project to build an SPDX bill of materials, attests the package, pushes it to nuget.org and creates the GitHub release with the package, the SBOM and notes generated from the pull request labels (<code>branches-and-pull-requests</code>).</li>\n<li>A scheduled release opens its notes with \"Monthly release for </li>\n</ol>\n<h3>Before the 1st</h3>\n<ol>\n<li>Make sure everything meant for the month is merged and <code>main</code> is green.</li>\n<li>Rehearse: run <strong>Build Pipeline</strong> from the Actions page with <code>run: release</code> and <code>dry-run: true</code>. It runs Release Check and Publish, logs in to NuGet and builds the SBOM, but pushes, attests and releases nothing. Dry runs work from any branch.</li>\n<li>Read the run summary: Release Check says what it compared and whether it would publish.</li>\n</ol>\n<h3>After the 1st</h3>\n<p>Record the month's numbers once the release is out: NuGet downloads, stars, forks and the last 14 days of traffic for every public repository. The commands are in <code>metrics/</code> in the organisation's private scripts repository, and one run covers all five templates, so do it once, not five times. GitHub only keeps 14 days of traffic, so a missed month is gone for good.</p>\n<h3>An out-of-cycle release</h3>\n<p>For a fix that can't wait for the 1st, run <strong>Build Pipeline</strong> on <code>main</code> with <code>run: release</code>, <code>dry-run: false</code> and, only if the change is in <code>.github/</code> alone, <code>force: true</code>. Give it its own dated milestone on the board.</p>\n<h2>Don't</h2>\n<ul>\n<li>Push a package to NuGet or create a release by hand. It skips the SBOM, the attestation and the notes.</li>\n<li>Use <code>force</code> to release a month with no real change. No changes, no release.</li>\n<li>Delete or edit a past release. Each release stays, so anyone can go back to it.</li>\n<li>Add a secret or account that a copy of the template would need for its pipeline to pass. Publishing is guarded by the repository owner for that reason.</li>\n<li>Release from a branch other than <code>main</code>.</li>\n</ul>\n<h2>Check</h2>\n<ul>\n<li>The dry run's summary shows Release Check with <code>Publish: true</code> and a Publish job that finished.</li>\n<li>After a real release: the new version is on nuget.org, the GitHub release has the <code>.nupkg</code> and the <code>.spdx.json</code>, and <code>dotnet new update</code> picks it up.</li>\n</ul>\n","files":[{"path":"SKILL.md","sizeBytes":4022,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-27T19:10:24.092968Z","sha256":"77293F46D3528635E338A6C1ABAB23F23DA0858F2991094E34185B527769165E","sizeBytes":1888},"review":null,"source":{"repositoryUrl":"https://github.com/LeanMeanCleanApps/CleanGraphQLApi","path":".agents/skills/releases","license":"MIT","commit":"1168fead2e0c8143a44bdce3344e0ab5fe1db90a","subtreeSha":"F7DEAF71090F637F10DA6D22229B3BD076077860818E57355D0FD8FA1AEED860","lastSyncedAt":"2026-11-27T19:09:06.789278Z"},"reviewedAt":"2026-11-27T19:12:56.012573Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/LeanMeanCleanApps/CleanGraphQLApi/tree/main/.agents/skills/releases"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install leanmeancleanapps-cleangraphqlapi@llmmart"},{"target":"git","command":"git clone https://github.com/LeanMeanCleanApps/CleanGraphQLApi.git"}]}