Skip to content

Conversation

@colinmurphy
Copy link
Member

@colinmurphy colinmurphy commented Jul 1, 2025

Description

As part of #303 we need to update the composer version (and also plugin version for future when they are released)

This does the following

  1. Adds a script to each plugin called "version" which should run as part of the changset release branch workflow - https://github.com/wpengine/hwptoolkit/blob/main/.github/workflows/create-release-branch.yml
  2. Update composer.json, readme.txt and main plugin versions based off the package.json version
  3. Also added a small fix to failing e2e tests workflow.

Note

Unfortunately we cannot test this locally so we will need to try and update a plugin to see if the release branch updates the version. The good news is this doesn't need to be merged unless its correct.

Related Issue

#303

Type of Change

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactoring (no functional changes)
  • 📄 Example update (no functional changes)
  • 📝 Documentation update
  • 🔍 Performance improvement
  • 🧪 Test update

How Has This Been Tested?

Screenshots

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the project's coding standards
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • Any dependent changes have been highlighted, merged or published

@changeset-bot
Copy link

changeset-bot bot commented Jul 1, 2025

⚠️ No Changeset found

Latest commit: cae8466

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@colinmurphy colinmurphy marked this pull request as ready for review July 1, 2025 13:28
@colinmurphy colinmurphy requested a review from a team as a code owner July 1, 2025 13:28
@github-actions
Copy link

github-actions bot commented Jul 1, 2025

ℹ️ Download the latest hwp-previews plugin zip from this PR
(See the 'Artifacts' section at the bottom)

@colinmurphy colinmurphy enabled auto-merge July 1, 2025 13:33
@colinmurphy colinmurphy added this pull request to the merge queue Jul 1, 2025
Merged via the queue into main with commit 4c717bf Jul 1, 2025
21 checks passed
@colinmurphy colinmurphy deleted the chore-prep-plugins-for-composer-releases-to-packagist.org branch July 1, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants