Release Process
Active development happens on main.
Version Bump
Before release, bump:
- Plugin header version in
oregon-farmers-market-locator.php
OFML_VERSION
readme.txt Stable tag
CHANGELOG.md
RELEASE-NOTES.md
Verification
Run:
scripts/check-release.sh
This verifies version consistency, PHP syntax, static analysis, package contents, packaged PHP syntax, nonce/capability patterns, and focused security checks.
Packaging
Release ZIPs are generated under dist/ and should not be committed.
Forgejo Release
The release flow is:
- Commit release changes.
- Create annotated tag
vX.Y.Z.
- Push
main.
- Push the tag.
- Create a Forgejo release object.
- Upload
dist/oregon-farmers-market-locator-vX.Y.Z.zip.
- Verify the release author is
david and the ZIP asset is present.
Pushing a tag alone does not create a visible Forgejo Release entry on this instance.