Skip to content

Release a tagged version from a Release workflow - #29

Merged
CharliesDevBot merged 2 commits into
mainfrom
release-workflow
Dec 6, 2026
Merged

CharliesDevBot merged 2 commits into
mainfrom
release-workflow

Conversation

@CharliePoole

Copy link
Copy Markdown
Member

Part of nunit/nunit-console#1946. Since ContinuousIntegration stops at MyGet, a tagged version isn't published to the public feeds or released on GitHub by CI. This PR adds the Release workflow introduced in nunit/NUnit.Cake.Recipe#143.

Changes

  • New Release.yml: pushing a tag runs the recipe's Release target, which checks the release first, then builds, tests and packages it, publishes it and creates the GitHub release. It uses the same .NET SDKs as the CI workflow.
  • Recipe 2.0.0-beta.6, the first release with the Release target.
  • Solution file: the new workflow is listed in Solution Items.
  • GitReleaseManager tool: added to the dotnet tool manifest, which the workflow's tool check needs.

Tests

Built locally with recipe 2.0.0-beta.6. CheckRelease run locally stops with "not a public release", as it should on an untagged commit. The workflow itself first runs when this repository's next version is tagged.

🤖 Generated with Claude Code

CharliePoole and others added 2 commits December 5, 2026 22:12
Adds a Release workflow, which runs the recipe's Release target when a tag is
pushed, and moves to NUnit.Cake.Recipe 2.0.0-beta.6, which provides it
(nunit/nunit-console#1946).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Actions list now shows a release run as "Release <tag>" rather than under the
tagged commit's message. The workflow's header also says to push the new tag on
its own, since every pushed tag starts a run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@CharliePoole CharliePoole added this to the 4.0.0-beta.102 milestone Dec 6, 2026
@CharliesDevBot
CharliesDevBot merged commit 9889e93 into main Dec 6, 2026
2 checks passed
@CharliesDevBot
CharliesDevBot deleted the release-workflow branch December 6, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants