Add automated changelog system and WordPress.org deploy#633
Merged
Conversation
- Per-PR changelog entries in .github/changelog/unreleased/ - GitHub Action enforces changelog on PRs (with auto-create from PR description) - Automated deploy to WordPress.org on GitHub release via 10up action - Deploy workflow handles version bump, changelog compilation, and SVN push - Rename CLAUDE.md to AGENTS.md with updated workflow docs - Remove bin/release.sh, add bin/version-bump.sh and bin/changelog-write.sh
Contributor
Test this PR in WordPress PlaygroundYou can test this pull request directly in WordPress Playground: This will install and activate the plugin with the changes from this PR. |
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.
Summary
.github/changelog/unreleased/) with enforcement via GitHub ActionsChanges
.github/workflows/changelog.yml— enforces changelog entries on PRs, can auto-create from PR description checkboxes.github/workflows/deploy.yml— on release: compiles changelog, bumps version, commits to main, deploys to WordPress.org.github/PULL_REQUEST_TEMPLATE.md— PR template with changelog sectionbin/changelog-add.sh— interactive helper to create changelog entriesbin/changelog-write.sh— compiles unreleased entries into CHANGELOG.md and README.mdbin/version-bump.sh— updates version in friends.php and README.mddocs/release-process.md— documents the new release flowCLAUDE.md→AGENTS.md— renamed with updated workflow instructionsbin/release.sh— removed (replaced by automated workflow)Setup required
Add these repository secrets for the SVN deploy:
SVN_USERNAME— WordPress.org usernameSVN_PASSWORD— WordPress.org passwordTest plan
bin/changelog-add.shlocally to create an entrybin/changelog-write.sh <version>locally to verify output format matches existing CHANGELOG.md