Adopt GitHub Release-based publishing with tag-driven versioning and changelog#419
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/wp-net/WordPressPCL/sessions/1acb0647-e5cb-48e6-9e0d-f111b4dffb55 Co-authored-by: ThomasPe <4225039+ThomasPe@users.noreply.github.com>
Agent-Logs-Url: https://github.com/wp-net/WordPressPCL/sessions/1acb0647-e5cb-48e6-9e0d-f111b4dffb55 Co-authored-by: ThomasPe <4225039+ThomasPe@users.noreply.github.com>
Agent-Logs-Url: https://github.com/wp-net/WordPressPCL/sessions/1acb0647-e5cb-48e6-9e0d-f111b4dffb55 Co-authored-by: ThomasPe <4225039+ThomasPe@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Adopt GitHub standard release process with versioning and changelog
Adopt GitHub Release-based publishing with tag-driven versioning and changelog
Apr 7, 2026
Member
|
@copilot migrate full changelog to new format. |
Agent-Logs-Url: https://github.com/wp-net/WordPressPCL/sessions/855df56a-b067-4f8d-a106-50a81a3108d3 Co-authored-by: ThomasPe <4225039+ThomasPe@users.noreply.github.com>
Contributor
Author
Done in |
Contributor
There was a problem hiding this comment.
Pull request overview
Aligns WordPressPCL’s NuGet publishing with GitHub’s release flow by making GitHub Releases (and their tags) the source of truth for versioning and publishing.
Changes:
- Switch NuGet publishing workflow to trigger on
release.published, validatevX.Y.Z[-suffix]tags, and inject the tag-derived version into build/pack. - Move package versioning to
<VersionPrefix>and streamline release notes metadata to referenceCHANGELOG.md+ GitHub Releases. - Add and document
CHANGELOG.mdand GitHub release-notes configuration (.github/release.yml).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| WordPressPCL/WordPressPCL.csproj | Uses VersionPrefix, simplifies release notes metadata, and includes CHANGELOG.md in the NuGet package. |
| README.md | Documents the new GitHub Release-based publishing process. |
| CHANGELOG.md | Introduces a centralized changelog for release history and upcoming changes. |
| .github/workflows/publish-nuget.yml | Publishes to NuGet on GitHub Release publish, deriving package version from tag. |
| .github/release.yml | Configures GitHub-generated release notes categorization by labels. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ThomasPe
approved these changes
Apr 7, 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.
This revisits release creation to align package publishing with GitHub’s standard release flow. Releases now originate from GitHub Releases, with versioning derived from the release tag and changelog/release notes managed in one place.
Release workflow
workflow_dispatchNuGet publish workflow with arelease.publishedworkflow.vX.Y.Z/vX.Y.Z-suffixtags and uses the tag version for build + pack.Versioning + package metadata
<Version>to<VersionPrefix>so release builds can inject the actual package version.CHANGELOG.mdand the GitHub Releases page.CHANGELOG.mdin the NuGet package alongside the existing README.Changelog + GitHub release notes
CHANGELOG.mdas the maintained history for shipped versions and upcoming changes.1.2.0..github/release.ymlso GitHub-generated release notes are grouped by release-relevant categories.Repository docs
README.md:CHANGELOG.mdExample of the new release contract: