Use this checklist when preparing a public plugin release.
Keep the version number in sync across all release metadata:
wp-auto-feature-gen.phpplugin headerVersion:wp-auto-feature-gen.phpWPAFG_VERSIONreadme.txtStable tag:readme.txt== Changelog ==
find . -name '*.php' -not -path './vendor/*' -print0 | xargs -0 -n1 -P4 php -lAlso confirm the README and readme.txt links resolve and the version strings
listed under Version Sync all match before tagging.
Replace X.Y.Z with the release version.
git tag vX.Y.Z
git push --follow-tagsgit archive --format=zip --prefix=wp-auto-feature-gen/ -o wp-auto-feature-gen-vX.Y.Z.zip HEADgh release create vX.Y.Z wp-auto-feature-gen-vX.Y.Z.zip --generate-notesIf this plugin is submitted to WordPress.org, use the WordPress.org SVN release flow after approval:
- Copy the release files to
/trunk. - Copy the same release files to
/tags/X.Y.Z. - Confirm
readme.txtStable tag:points to the released version. - Commit with a clear release message.