Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip new PL milestone prefix from milestone title to only have version in changelog #773

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

felixarntz
Copy link
Member

@felixarntz felixarntz commented Jul 7, 2023

Summary

Now that the PL milestone title format has been changed from just containing the version to "PL Plugin {version}", we need to update the readme script to ensure that it strips that new prefix when generating the changelog.

To test the PR, run npm run readme -- -m "PL Plugin 2.5.0", and verify that the changelog in the readme only contains "2.5.0", not "PL Plugin 2.5.0".

Checklist

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

@felixarntz felixarntz added [Type] Enhancement A suggestion for improvement of an existing feature Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release labels Jul 7, 2023
Copy link
Member

@westonruter westonruter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mukeshpanchal27
Copy link
Member

@felixarntz Could you please update the command in the handbook?

Copy link
Member

@mukeshpanchal27 mukeshpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixarntz Thanks for the PR, LGTM!

@felixarntz
Copy link
Member Author

Good catch @mukeshpanchal27, updated! https://make.wordpress.org/performance/handbook/performance-lab/releasing-the-plugin/#update-readme-txt

@felixarntz felixarntz merged commit 8e9250b into trunk Jul 10, 2023
16 checks passed
@felixarntz felixarntz deleted the fix/readme-changelog-title branch July 10, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Issues for the overall performance plugin infrastructure no milestone PRs that do not have a defined milestone for release [Type] Enhancement A suggestion for improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants