Repository navigation
Release by publishing the release-drafter draft instead of pushing a tag - #38
Merged
Merged
Conversation
release-drafter drafts the next release from merged PR labels, and publishing that draft runs the shared release workflow: it packs at the new tag's version, pushes to nuget.org with trusted publishing, and appends the public API changes to the notes. Pushing a tag no longer releases. Every PR needs exactly one release label, and dependabot keeps NuGet packages and actions current under the `dependencies` label. The release-notes tool and the build targets that wrapped it (release notes, GitHub release, pristine-checkout guard, release and publish) go, along with the repo skills that describe the new flow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Visual Studio's standard .gitignore ignores any release/ directory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lishing names The policies for Proc and Proc.Fs name ci.yml, so the release job lives there, on release: published, and calls the shared release workflow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 11, 2026
Release by publishing the release-drafter draft instead of pushing a tag
nullean/xunit-partitions#16
Merged
Mpdreamz
added a commit
to nullean/scoped-filesystem
that referenced
this pull request
Nov 11, 2026
…tag (#19) scoped-filesystem now releases when its release-drafter draft is published (on github.com, from a phone, or with `mise run release publish`), instead of when a tag is pushed. Each pull request carries exactly one label, and that label decides the next version. **Prompt summary:** Normalize how every nullean repository releases. release-drafter drafts the notes from required PR labels so the next version never has to be guessed. In 0.x a breaking change bumps the minor version, and 1.0 is always a manual decision. Releasing means promoting the draft. This is step 3 of the rollout, as on nullean/proc#38. ## Why A release meant pushing a tag by hand and choosing its version. The release-notes tool then guessed categories from labels and created a `v0.x` label for each release. Nothing stopped a PR from merging without a label, so the notes and the version bump depended on remembering one. ## What #### Release from the draft `ci.yml` now also runs on `release: published`. Its `release` job calls the shared release workflow in nullean/.github (`v1.3.0`, pinned by SHA) with `packages-path: build/output`. It stays in `ci.yml` because nuget.org's trusted publishing policy for Nullean.ScopedFileSystem names that file. That workflow: - checks out the new tag and runs `mise run pack`; - checks every package carries the tag's version; - pushes to nuget.org with trusted publishing; - appends the `breaking-changes-*.md` API report to the release notes. The tag trigger and the old tag release job are gone. The canary push to GitHub Packages stays. #### Drafts and labels `release-drafter.yml` keeps the draft current on every push to main. `.github/release-drafter.yml` maps labels to versions: `breaking`, `feature` and `enhancement` bump the minor version (the 0.x rule), and everything else is a patch. `pr-labels.yml` fails a PR that doesn't have exactly one release label. The label set is synced to this repo. #### Dependency updates `dependabot.yml` updates NuGet packages and actions weekly in groups, with a 7-day cooldown and the `dependencies` label, so its PRs pass the label check. #### Build and skills The release-notes tool and the targets that used it are removed: release notes, GitHub release, pristine check, release and publish. `mise run release` shows the draft. The `releasing`, `breaking-changes` and `upgrade-deps` repo skills describe the new flow, and the `pr` skill now requires a release label. `upgrade-deps` points at `dotnet-tools.json` in the root, where this repo keeps it. **Out of scope:** pruning the old `v0.x` labels, which are still attached to past PRs. Making `release-label` a required check in branch protection is also left for later. ## Verify ```bash mise run pack # what the release workflow runs mise run release # once merged: shows the draft and the version it resolved ``` Locally, `mise run ci` passes the same 114 of 114 tests as `main`. `mise run pack` succeeds. zizmor and actionlint are clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
proc now releases when its release-drafter draft is published (on github.com, from a phone, or with
mise run release publish), instead of when a tag is pushed. Each pull request carries exactly one label, and that label decides the next version.Prompt summary: Normalize how every nullean repository releases. release-drafter drafts the notes from required PR labels so the next version never has to be guessed. In 0.x a breaking change bumps the minor version, and 1.0 is always a manual decision. Releasing means promoting the draft, which is easy from a phone. proc is the pilot.
Why
A release meant pushing a tag by hand and choosing its version. The release-notes tool then guessed categories from labels and created a
v0.xlabel for each release (about 30 so far). Nothing stopped a PR from merging without a label, so the notes and the version bump depended on remembering one.What
Release from the draft
ci.ymlnow also runs onrelease: published, and itsreleasejob calls the shared release workflow in nullean/.github. It stays inci.ymlbecause nuget.org's trusted publishing policies for Proc and Proc.Fs name that file. That workflow checks out the new tag, runsmise run pack, and checks every package carries the tag's version. It then pushes to nuget.org with trusted publishing and appends thebreaking-changes-*.mdAPI report to the release notes. The tag trigger and the old tag release job are gone. The canary push to GitHub Packages stays.Drafts and labels
release-drafter.ymlkeeps the draft current on every push to main..github/release-drafter.ymlmaps labels to versions:breaking,featureandenhancementbump the minor version (the 0.x rule), and everything else is a patch.pr-labels.ymlfails a PR that doesn't have exactly one release label. The label set is already synced to this repo.Dependency updates
dependabot.ymlupdates NuGet packages and actions weekly in groups, with a 7-day cooldown and thedependencieslabel, so its PRs pass the label check.Build and skills
The release-notes tool and the targets that used it are removed: release notes, GitHub release, pristine check, release and publish. The
release,breaking-changesandupgrade-depsrepo skills describe the new flow, and theprskill now requires a release label.Out of scope: pruning the old
v0.xlabels. They are still attached to past PRs and issues, so deleting them is a separate decision. Makingrelease-labela required check in branch protection is also left for later.Verify
🤖 Generated with Claude Code