{"data":{"slug":"discovered-d8b22c4be356ebc018360197360594603a1175786ec8a323","title":"Release","summary":"Tag a new version, push to trigger CI, monitor the build, and verify the GitHub release. Requires a clean working tree, being on the `main` branch, and local and remote `main` branches being in sync.","url":"https:\/\/skillshunter.net\/skills\/discovered-d8b22c4be356ebc018360197360594603a1175786ec8a323","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-d8b22c4be356ebc018360197360594603a1175786ec8a323","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-d8b22c4be356ebc018360197360594603a1175786ec8a323.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-d8b22c4be356ebc018360197360594603a1175786ec8a323\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the working tree is clean, local and remote `main` branches are in sync, and all version files agree. The installers are not signed, so the user will encounter a first-launch warning on each platform; provide bypass steps per OS and link to the project's install guide.","instructions":"---\nname: release\ndescription: Tag a new version, push to trigger CI, monitor the build, and verify the GitHub release\nallowed-tools: AskUserQuestion, Read, Edit, Bash(git status --porcelain), Bash(git branch --show-current), Bash(git rev-parse *), Bash(git fetch origin *), Bash(git rev-list *), Bash(git describe --tags *), Bash(git log *), Bash(git tag *), Bash(git push origin *), Bash(python ~\/.claude\/skills\/shared\/commit.py:*), Bash(python3 ~\/.claude\/skills\/shared\/commit.py:*), Bash(python ~\/.claude\/skills\/shared\/push.py:*), Bash(python3 ~\/.claude\/skills\/shared\/push.py:*), Bash(python ~\/.claude\/scripts\/review_scope.py status), Bash(python3 ~\/.claude\/scripts\/review_scope.py status), Bash(python ~\/.claude\/scripts\/review_scope.py forecast), Bash(python3 ~\/.claude\/scripts\/review_scope.py forecast), Bash(gh run list *), Bash(gh run watch *), Bash(gh run view *), Bash(gh release view *), Bash(gh release edit *), Bash(gh release create *), Bash(gh repo view *), Bash(node -p *), Bash(sed *), Bash(ls *), Bash(test *), Bash(grep *)\n---\n\n# Release\n\nTag the current `main` commit as `vX.Y.Z` and let the project's CI workflow build the artifact(s) and publish a GitHub Release. Supports multiple project stacks via dispatch \u2014 same shape as the global `deploy` skill.\n\n## Context\n\n### Git state (universal)\n\nBoth counts in this section carry their own `git fetch`, and the repetition is deliberate: `!` lines are not\nevaluated in the order they are written, so a standalone fetch line guarantees nothing to the lines\nunder it, and a stale `0` here is what clears a release that should stop. A second fetch of the same\nref is a no-op. A fetch that fails prints `FETCH-FAILED` ahead of its count, and the count is then\nagainst a ref nothing updated: stop and re-fetch rather than releasing on it, because the `0` it\nproduces is indistinguishable from the `0` that means current. See\n`~\/.claude\/learnings\/skill-context-evaluator.md`.\n\n- Repo root: !`git rev-parse --show-toplevel 2>\/dev\/null || pwd`\n- Working tree clean?: !`git status --porcelain`\n- Current branch: !`git branch --show-current`\n- Unmerged remote commits: !`git fetch origin main 2>\/dev\/null || echo FETCH-FAILED; git rev-list HEAD..origin\/main --count 2>\/dev\/null || echo 0`\n- Unpushed local commits: !`git fetch origin main 2>\/dev\/null || echo FETCH-FAILED; git rev-list origin\/main..HEAD --count 2>\/dev\/null || echo 0`\n- Latest tag: !`git describe --tags --abbrev=0 2>\/dev\/null || echo \"(none)\"`\n- Repo: !`gh repo view --json nameWithOwner --jq .nameWithOwner 2>\/dev\/null || echo unknown`\n\n### Project type probes\n- Chrome extension: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd) && test -f \"$R\/manifest.json\" && test -f \"$R\/package.json\" && grep -q '\"manifest_version\"' \"$R\/manifest.json\" 2>\/dev\/null && echo yes || echo no`\n- .NET project: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd); F=$(find \"$R\/src\" -maxdepth 1 -name '*.csproj' 2>\/dev\/null | head -1); [ -n \"$F\" ] && echo yes || echo no`\n- Tauri project: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd) && test -f \"$R\/src-tauri\/tauri.conf.json\" && echo yes || echo no`\n\n### Stack-specific data\n- Manifest version: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd) && node -p \"require('$R\/manifest.json').version\" 2>\/dev\/null || echo n\/a`\n- Package version: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd) && node -p \"require('$R\/package.json').version\" 2>\/dev\/null || echo n\/a`\n- AssemblyName: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd); V=$(find \"$R\/src\" -maxdepth 1 -name '*.csproj' 2>\/dev\/null | while read -r f; do sed -n 's\/.*<AssemblyName>\\([^<]*\\)<.*\/\\1\/p' \"$f\"; done | head -1); [ -n \"$V\" ] && echo \"$V\" || echo n\/a`\n- Signing policy documented in: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd); F=$(grep -rilE \"code[ -]signing\" \"$R\/README.md\" \"$R\/docs\" --include='*.md' 2>\/dev\/null | sed \"s|^$R\/||\" | head -3 | tr '\\n' ' '); [ -n \"$F\" ] && echo \"$F\" || echo none`\n- Tauri config version: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd) && node -p \"require('$R\/src-tauri\/tauri.conf.json').version\" 2>\/dev\/null || echo n\/a`\n- Tauri Cargo version: !`R=$(git rev-parse --show-toplevel 2>\/dev\/null || pwd); V=$(sed -n 's\/^version = \"\\([^\"]*\\)\".*\/\\1\/p' \"$R\/src-tauri\/Cargo.toml\" 2>\/dev\/null | head -1); [ -n \"$V\" ] && echo \"$V\" || echo n\/a`\n\n## Working directory\n\nAll file paths in this skill body (`manifest.json`, `package.json`, `src-tauri\/tauri.conf.json`, `src-tauri\/Cargo.toml`, `src-tauri\/Cargo.lock`, `README.md`, `src\/*.csproj`) are relative to **Repo root** from Context. The cwd may be a subdirectory \u2014 prefix every Read\/Edit call with the Repo root value, and pass `git add` paths from Repo root so the staging path matches. Bare paths are cwd-relative.\n\n## 1. Detect project type\n\nPick the matching flow based on the **Context** flags:\n\n- **Chrome extension** is yes \u2192 use Chrome-extension flow\n- else **.NET project** is yes \u2192 use .NET flow\n- else **Tauri project** is yes \u2192 use Tauri flow\n- else \u2192 **STOP**. Tell the user:\n  > The `release` skill recognizes Chrome extensions (`manifest.json` + `package.json`), .NET (`src\/*.csproj`), and Tauri (`src-tauri\/tauri.conf.json`) projects. None was found in the current directory. To support a new stack, extend this skill's Context probes and add a stack-specific branch to each step.\n\nIf more than one flag is yes (mixed repo), ask the user which stack to release \u2014 do not guess.\n\n## 2. Check preconditions\n\nRun **all** of these checks (do not skip any) and **stop with an error** if any fail. Do NOT assume state from earlier in the conversation:\n\nUniversal:\n- Working tree must be clean (**Working tree clean?** empty)\n- Must be on `main` (**Current branch** = `main`)\n- Local main must be in sync with remote (**Unmerged remote commits** = 0 AND **Unpushed local commits** = 0), and neither may carry `FETCH-FAILED` \u2014 a zero under that marker is unmeasured, not in sync\n\nStack-specific:\n- **Chrome extension**: **Manifest version** must equal **Package version**\n- **Tauri**: **Tauri config version** must equal **Tauri Cargo version** (and **Package version**) \u2014 the bundle version comes from `tauri.conf.json`, so all version files must agree\n\n## 3. Determine version\n\n1. Read the latest tag (Context) and the current source-of-truth version:\n   - **Chrome extension**: source-of-truth = **Manifest version**\n   - **.NET**: ask the user \u2014 version is injected from the tag into the build (no version file to read), so the tag is the source of truth\n   - **Tauri**: source-of-truth = **Tauri config version** (`tauri.conf.json`)\n2. List commits since the latest tag: `git log <latest-tag>..HEAD --oneline`. If no prior tag, list all commits.\n3. Recommend patch \/ minor \/ major based on commit subjects (`feat:` \u2192 minor, `fix:`\/`chore:`\/`refactor:` \u2192 patch, breaking change \u2192 major) \u2014 then check that recommendation against what the release actually publishes. A `feat:` whose output is not in the shipped artifact (a maintainer-only tool, any project the publish step does not package) buys a user nothing, so it does not force a minor bump; and a minor whose notes carry only a fix invites \"what was the feature?\" from anyone reading the releases list. Read the workflow's publish\/package step rather than the commit log alone.\n4. Decision:\n   - **Chrome extension**: if **Manifest version** > latest tag's version, the bump is already committed \u2014 use it and skip step 4. Else proceed to step 4 with the recommended version (or user override).\n   - **.NET**: ask user for new version (default = recommended bump). Skip step 4 \u2014 version is tag-injected.\n   - **Tauri**: if **Tauri config version** > latest tag's version, the bump is already committed \u2014 use it and skip step 4. Else proceed to step 4 with the recommended version (or user override).\n\nTag format is always `vX.Y.Z`, or `vX.Y.Z-rcN` when the user asks for a prerelease and the project's CI marks hyphenated tags as prereleases (so \"Latest release\" keeps pointing at the last stable tag). A prerelease gets the same notes treatment as a stable one \u2014 only the collapse rules in step 8 differ.\n\n## 4. Bump version (Chrome extension and Tauri)\n\nSkip this step for .NET.\n\nFor Chrome extension:\n- Edit `manifest.json` `\"version\"` field \u2192 new version\n- Edit `package.json` `\"version\"` field \u2192 new version\n- Commit: write `chore: bump version to X.Y.Z` to a file under `tmp\/`, then `python ~\/.claude\/skills\/shared\/commit.py -F <file> manifest.json package.json` (`python3` on macOS). It stages exactly those paths, checks the message, scans what they add and signs the commit; exit 1 is a refusal to read and settle, never to route around with `git commit`.\n- Push: `python ~\/.claude\/skills\/shared\/push.py --caller release`. It gates the tree the push would publish (fix a failure in a further commit), forecasts the review bookmark, pushes, publishes the bookmark, asks the other machine to pull, and ends on the bookmark's status line.\n\nFor Tauri, bump **all five** version references so they stay in sync (the bundle version comes from `tauri.conf.json`; the others must match):\n- Edit `src-tauri\/tauri.conf.json` `\"version\"` field \u2192 new version\n- Edit `package.json` `\"version\"` field \u2192 new version\n- Edit `src-tauri\/Cargo.toml` `[package]` `version` field \u2192 new version\n- Edit `src-tauri\/Cargo.lock` \u2014 the package's own entry (find the `[[package]]` block whose `name` matches the crate, bump its `version`; leave dependency entries untouched)\n- Regenerate `package-lock.json` with `npm install --package-lock-only` (run it *after* editing `package.json`; it rewrites the root `\"version\"` and the mirrored one under `packages.\"\"`, touching nothing else when dependencies are unchanged). Skip only if the project has no `package-lock.json`. This one is easy to miss because nothing fails without it: `npm ci` compares dependency specifiers, not the root version, so a stale value survives release after release in silence \u2014 one project's lockfile sat five versions behind before anyone noticed.\n- Commit: write `chore: bump version to X.Y.Z` to a file under `tmp\/`, then `python ~\/.claude\/skills\/shared\/commit.py -F <file> src-tauri\/tauri.conf.json package.json package-lock.json src-tauri\/Cargo.toml src-tauri\/Cargo.lock` (`python3` on macOS). It stages exactly those paths, checks the message, scans what they add and signs the commit; exit 1 is a refusal to read and settle, never to route around with `git commit`.\n- Push: `python ~\/.claude\/skills\/shared\/push.py --caller release`. It gates the tree the push would publish (fix a failure in a further commit), forecasts the review bookmark, pushes, publishes the bookmark, asks the other machine to pull, and ends on the bookmark's status line.\n\nUse the Edit tool \u2014 do not regenerate any file. Read `Cargo.lock` before editing it (Edit requires a prior Read).\n\nThe tag push in step 6 needs no second pull request to the other machine: `\/pull` restores a branch and a plain `git fetch` brings the tag along with the commits.\n\n## 5. Compile release notes\n\n### What's new (universal)\n\nBuild bullets from `git log <prev-tag>..HEAD --oneline` (or all commits if no prior tag):\n- Base each bullet on the actual commit message \u2014 do NOT rephrase or reinterpret\n- Strip the conventional-commit prefix (`feat:`, `fix:`, `refactor:`, etc.) and capitalize the first letter\n- Group closely related commits into a single bullet if obvious\n- Skip pure-internal commits with no user-visible effect (CI tweaks, doc-only changes, internal refactors)\n\nGroup the bullets under emoji-prefixed `###` headings by kind, in this order, omitting any heading with no bullets:\n- `### \u2728 Features` \u2014 `feat:` commits\n- `### \ud83d\udc1b Fixes` \u2014 `fix:` commits\n- `### \u26a0\ufe0f Breaking changes` \u2014 any breaking change\n\nWithin each heading, order the bullets by user-facing importance, most important first \u2014 not by commit order. Judge importance by how much the change affects what users see or do: a headline feature or a fix for a broken core flow leads; small tweaks and edge-case fixes trail. When two bullets are of comparable importance, keep their relative commit order.\n\nNormal `feat:`\/`fix:`\/breaking bullets always go under their heading, even when the release has only one kind (e.g. a features-only release still uses `### \u2728 Features`). Bullets that don't fit any of these headings (rare) go under the closest-fitting heading \u2014 or, only when the entire release consists of such non-fitting items and headings add no clarity, as a plain un-headed list.\n\nNever add a `**Full Changelog**: \u2026\/compare\/\u2026` line \u2014 GitHub auto-renders a compare link on every release page, so it would just duplicate that. This applies to all stacks.\n\n### Stack-specific sections\n\n**Chrome extension:**\n\nNo stack-specific section \u2014 the release body is just the generic \"What's new\" changelog.\n\n**.NET:**\n\nPut the changelog first (the `###` Features\/Fixes groups from *What's new (universal)* \u2014 no `## What's new` parent heading, which GitHub would render with an underline rule). Then append a single combined `> [!NOTE]` callout holding **both** the SmartScreen first-run note and the download guidance \u2014 one colored box, not two separate sections. Do NOT list filenames or sizes (GitHub auto-renders the Assets section below); explain only the build *difference* so the reader picks the right asset. For the new release the box is **expanded** (older releases get it collapsed \u2014 see step 8). The box is release-independent except `{owner}\/{repo}` and `{signing-policy-url}`:\n\n```\n### \u2728 Features\n- \u2026\n\n### \ud83d\udc1b Fixes\n- \u2026\n\n<br>\n\n> [!NOTE]\n> The executable is not code-signed yet, so Windows SmartScreen may show a warning on first run. Click **More info** \u2192 **Run anyway** to proceed. See [Code signing policy]({signing-policy-url}).\n>\n> **Which download should I pick?** Both builds are the same app and differ only in whether the .NET runtime is bundled:\n> - **Framework-dependent** \u2014 only a few hundred KB, but needs the [.NET Desktop Runtime 10](https:\/\/dotnet.microsoft.com\/download\/dotnet\/10.0) preinstalled.\n> - **Self-contained** \u2014 bundles the .NET runtime; larger, but runs anywhere. Pick this if unsure.\n```\n\nResolve `{signing-policy-url}` from **Signing policy documented in** (Context). A `README.md` hit links to `https:\/\/github.com\/{owner}\/{repo}#<anchor>`; a `docs\/` hit links to that page on the project's GitHub Pages site. **Open the file and take the anchor from the real heading** rather than from the phrase the probe matched \u2014 one project's is `## SmartScreen and code signing`, so a guessed `#code-signing-policy` 404s silently.\n\nOnly when **Signing policy documented in** reads `none` do you drop the SmartScreen sentence and the blank `>` line after it, keeping just the \"Which download\" box. Never infer that from the README alone: this probe used to grep `README.md` for the literal \"Code signing policy\" and answered `no` for a project documenting it on its docs site, which would have dropped a paragraph every Windows user needs. Do NOT add a \"Building from source\" section \u2014 build instructions belong in the README, not in every release's notes.\n\n**Tauri:**\n\n`release.yml` builds a per-OS matrix via `tauri-action` and creates a **draft** release with the installers attached (Windows NSIS `.exe`, macOS `.dmg`). GitHub auto-renders an Assets section at the bottom of every release with filenames and sizes, so the notes should NOT include a Downloads table \u2014 it would just duplicate that.\n\nEnd the notes with a code-signing NOTE callout: the installers aren't signed, so the user hits a first-launch warning on each platform the release ships. Give the concrete bypass step per OS (drop the line for any OS this release doesn't build), and link to the project's install guide for full steps. Omit the `{install-url}` link only if the project has no install-guide page. Do NOT add a Downloads table.\n\n```\n> [!NOTE]\n> The installers aren't code-signed. On **Windows**, SmartScreen shows \"Windows protected your PC\" \u2014 click **More info** \u2192 **Run anyway**. On **macOS**, first launch is blocked (\"damaged\"\/unidentified developer) \u2014 open **System Settings \u2192 Privacy & Security** and click **Open Anyway**. Full steps in the [installation guide]({install-url}).\n```\n\nPresent the full draft to the user and ask them to confirm or request edits. Do not push the tag until approved.\n\n## 6. Create and push tag\n\nOnly after the user confirms:\n\n```bash\ngit tag vX.Y.Z\npython ~\/.claude\/scripts\/review_scope.py forecast\ngit push origin vX.Y.Z\npython ~\/.claude\/scripts\/review_scope.py status\n```\n\nReport the forecast and status lines around the tag push as `~\/.claude\/skills\/shared\/review-bookmark-status.md`\ndescribes (`python3` on macOS).\n\nThe tag push triggers the project's CI workflow (`.github\/workflows\/build.yml` or equivalent), which builds the artifact(s) and creates the GitHub Release.\n\n## 7. Monitor CI\n\nPoll the workflow run until it completes:\n\n```bash\ngh run list --branch vX.Y.Z --limit 1 --json databaseId,status,conclusion\ngh run watch <run-id>\n```\n\nIf the run fails, show the failed logs and stop:\n\n```bash\ngh run view <run-id> --log-failed\n```\n\n## 8. Verify release and finalize notes\n\nOnce CI succeeds:\n\n1. Confirm the release exists with the expected assets attached:\n   ```bash\n   gh release view vX.Y.Z --json tagName,assets\n   ```\n\n2. Stack-specific finalization:\n\n   **Release title = the tag, for every stack.** Fold `--title \"vX.Y.Z\"` into each stack's notes-replacement `gh release edit`. CI (or `tauri-action`) often names the release with the product name (e.g. `Foo App vX.Y.Z`) \u2014 redundant on the repo's own releases page, and in the narrow release **sidebar** the product-name prefix truncates off the version, the one part that distinguishes releases. The tag alone (`vX.Y.Z`) is GitHub's own default for an unset name and keeps the list scannable. (Fixing a project's CI to leave the name unset \/ use the tag is a nice-to-have; forcing `--title` here makes every release the skill publishes correct regardless.)\n\n   **Chrome extension**: replace the auto-generated notes with the drafted notes \u2014 no asset-size filling needed.\n   ```bash\n   gh release edit vX.Y.Z --title \"vX.Y.Z\" --notes \"...\"\n   ```\n\n   **.NET**: replace the auto-generated notes with the drafted notes \u2014 no asset-size filling needed (the `[!NOTE]` box explains the build difference rather than listing sizes; the Assets section auto-renders exact filenames and sizes).\n   ```bash\n   gh release edit vX.Y.Z --title \"vX.Y.Z\" --notes \"...\"\n   ```\n   Then collapse the superseded note boxes \u2014 see **Collapsing superseded NOTE boxes**, using `First-run &amp; download info` as the summary text.\n\n   **Tauri**: `tauri-action` creates the release as a **draft** with auto-generated notes. Replace those notes with the drafted \"What's new\" content from step 5 \u2014 the Assets section is auto-rendered, no filename\/size filling needed:\n   ```bash\n   gh release edit vX.Y.Z --title \"vX.Y.Z\" --notes \"...\"\n   ```\n   Then collapse the superseded note boxes \u2014 see **Collapsing superseded NOTE boxes**, using `First-run info` as the summary text.\n   Then publish the draft (confirm with the user first if they want to review the draft before it goes public):\n   ```bash\n   gh release edit vX.Y.Z --draft=false --latest\n   ```\n\n3. Print the release URL:\n   ```bash\n   gh release view vX.Y.Z --json url --jq .url\n   ```\n\n4. **Watch what publishing triggered, here and in any repo it dispatches to.** A published release starts workflows of its own \u2014 a cask bump, a docs deploy \u2014 and a release whose downstream failed is not done: on 2026-10-16 a tap's bump failed on a new Homebrew style rule, nothing reported it, and the cask sat a version behind until the user asked. For a Tauri release this step starts at the Tauri branch's `--draft=false`; elsewhere CI published the release, and its `release` runs have usually already begun.\n\n   List this repo's runs started by the publish, and watch each to completion:\n   ```bash\n   gh run list --event release --json databaseId,workflowName,status,conclusion,createdAt\n   gh run watch <run-id> --exit-status --compact\n   ```\n   Keep only runs created after the publish; an older one belongs to a previous release.\n\n   Then find the repos those workflows reach. A cross-repo trigger is a `POST repos\/<owner>\/<repo>\/dispatches` call inside a step, so read it out of the workflow files rather than out of any config:\n   ```bash\n   grep -rhoE 'repos\/[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+\/dispatches' .github\/workflows\n   ```\n   For each target, once the dispatching run has succeeded, take the first `repository_dispatch` run created after it and watch it the same way:\n   ```bash\n   gh run list -R <owner>\/<repo> --event repository_dispatch --json databaseId,workflowName,status,conclusion,createdAt\n   gh run watch <run-id> -R <owner>\/<repo> --exit-status --compact\n   ```\n   On a failure, show `gh run view <run-id> [-R <owner>\/<repo>] --log-failed` and report the release as published with a broken downstream, never as done. When the repo has no `release` runs and no dispatch targets, say so in one line, so \"nothing downstream\" never reads as \"downstream passed\". Matching the target's run by time can pick the wrong one when two releases dispatch within the same minute; name the run you watched so a mismatch is visible.\n\n5. **Chrome extension only** \u2014 the GitHub release is done, but the extension isn't live in the store yet. Point the user at the `\/publish-chrome-extension` skill, which downloads this release's zip and submits it to the Chrome Web Store.\n\n### Collapsing superseded NOTE boxes (.NET and Tauri)\n\nThe `> [!NOTE]` box is byte-for-byte identical on every release, so leaving them all expanded clutters the releases list. Only what GitHub puts at the top of the page keeps it expanded: the current **Latest** (newest stable), plus the newest **prerelease** if one has been published since that stable. What you just published decides which boxes it supersedes:\n\n- **Stable `vX.Y.Z`** \u2192 collapse the previous **stable** release *and* the newest **prerelease** (the rc series leading up to this release is superseded by it).\n- **Prerelease `vX.Y.Z-rcN`** \u2192 collapse the previous **prerelease** only. Leave the newest stable expanded \u2014 it is still GitHub's \"Latest release\" and the download most users take.\n\nResolve those tags from two separate lists. A single `git tag --sort=-v:refname` is wrong here: git's versionsort ignores semver prerelease precedence unless `versionsort.suffix` is configured, so `v1.6.0-rc2` sorts *above* `v1.6.0` and the second line is not the previous release.\n\n```bash\ngit tag --sort=-v:refname | grep -v -- '-'   # stable tags, newest first\ngit tag --sort=-v:refname | grep -- '-'      # prerelease tags, newest first\n```\n\nThe tag just published is line 1 of its own list. So after a stable release, collapse line 2 of the stable list plus line 1 of the prerelease list; after a prerelease, collapse line 2 of the prerelease list.\n\nFor each tag to collapse, fetch its body (`gh release view <tag> --json body --jq .body`) and wrap the `> [!NOTE]` box's inner content in a collapsed `<details>` \u2014 turn:\n\n```\n> [!NOTE]\n> <inner lines\u2026>\n```\n\ninto:\n\n```\n> [!NOTE]\n> <details>\n> <summary>{summary}<\/summary>\n>\n> <br>\n>\n> <inner lines\u2026>\n> <\/details>\n```\n\nTake `{summary}` from the stack's branch in step 8. Leave the \"What's new\" section untouched, then write it back with `gh release edit <tag> --notes \"...\"`. Skip a tag whose release has no `[!NOTE]` box (predates this format) or is already collapsed.\n\n## 9. Close with the review bookmark's state\n\nOnce the release is verified, close the report as `~\/.claude\/skills\/shared\/review-bookmark-status.md` describes.\n\n## Checklist\n\nBefore tagging:\n- [ ] Working tree clean, on main, in sync\n- [ ] Project type detected unambiguously\n- [ ] Stack-specific preconditions met (Chrome ext: manifest version == package version; Tauri: all version files in sync)\n- [ ] (Chrome ext \/ Tauri) the bump committed through `commit.py` and pushed through `push.py`, whose gate passed \u2014 .NET makes no bump commit, so there is nothing to gate there\n- [ ] Release notes drafted and reviewed\n\nAfter tagging:\n- [ ] CI workflow green\n- [ ] GitHub Release created with expected asset(s) attached\n- [ ] Release notes replaced and title set to the tag (`--title \"vX.Y.Z\"`) via `gh release edit`\n- [ ] (Chrome ext) User pointed to `\/publish-chrome-extension` for the store submission\n- [ ] (.NET \/ Tauri) Superseded NOTE boxes collapsed into `<details>` \u2014 a stable release supersedes the previous stable *and* the newest rc; an rc supersedes only the previous rc\n- [ ] (Tauri) Draft release published via `gh release edit --draft=false`\n- [ ] Runs the publish triggered, and the runs they dispatched to other repos, watched to completion \u2014 or \"nothing downstream\" stated\n","use_cases":["Tagging a new version of a Chrome extension","Releasing a Tauri application with version consistency checks","Preparing a .NET project for release with version alignment"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/AnotherSava\/claude-code-common\/blob\/1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93\/claude\/skills\/release\/SKILL.md","source_commit":"1a7f9f9cce53f6946ae1e3a9cc0733f2524a4b93","license":null,"version":null,"listing_approved_at":"2026-12-01","created_at":"2026-11-30T08:08:31.000000Z","updated_at":"2026-12-01T12:48:20.000000Z","seo_title":"Release a New Version with CI and GitHub Release Verification","seo_description":"Automate the process of tagging a new version, pushing to trigger CI, monitoring the build, and verifying the GitHub release. Ensures clean Git state and version file\u4e00\u81f4\u6027.","seo_keywords":["release version","CI trigger","GitHub release verification","version consistency","Git state check"]}}