Skip to content

Version bump script#294

Open
peterwilsoncc wants to merge 8 commits into
developfrom
version-bump-script
Open

Version bump script#294
peterwilsoncc wants to merge 8 commits into
developfrom
version-bump-script

Conversation

@peterwilsoncc

Copy link
Copy Markdown
Contributor

Description of the Change

Introduces a version bump script to make doing so easier. The script does the following:

  • bumps the version in the NPM config files: package(-lock)?.json
  • bumps the stable tag in readme.txt
  • bumps the version in the main plugin file
  • bumps the version constant in the main class file
  • Adds an empty changelog entry to CHANGELOG.md with the associated link.
  • Adds an empty changelog entry to readme.txt
  • Removes all but the last four changelog entries from readme.txt to ensure the file is below wordpress.org size limits

Closes #293

Use of AI

Model: GPT-5.3-Codex • 7.7

How to test the Change

  1. Run bin/version-bump.sh patch
  2. Ensure the version number is bumped by 0.0.1
  3. Ensure the old version number no longer appears as the current version anywhere - it should be removed in most places except the change logs
  4. Review the PHP changes to ensure there are no syntax errors.

Changelog Entry

Developer - Introduce version bump script.

Credits

Props @peterwilsoncc

Checklist:

@github-actions github-actions Bot added this to the 2.9.0 milestone Jun 18, 2026
@github-actions github-actions Bot added the needs:code-review This requires code review. label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:code-review This requires code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add version bump script.

1 participant