-
Notifications
You must be signed in to change notification settings - Fork 13
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
add npm update step to release process #22
base: trunk
Are you sure you want to change the base?
Conversation
@dkotter assuming you're good with this here, I'll open PRs across the other repos to add this step in the release process (and then just merge each of those in without additional review) so please comment here to note whether you're ok with this applying across repos or if you'd like specific reviews in those repos as well. |
I mentioned this in the 10up/insert-special-characters#155 but my only concern here is sometimes running an I'm okay with having this as part of our release process but may also be worth adding a step (or adding on to this new step) some instructions around testing, especially anything that uses those dependencies (building assets for instance). |
Let's sort out how to handle within the ISC PR and I'll update here for a broad 10up approach afterwards. |
I'm okay with this change, though I'm not seeing an actual test step in our instructions right now. I know some of our plugins have that and some don't, I'd recommend we add that to our standard process here which will hopefully catch any issues that may crop up from running an |
Merged in |
13. Check WordPress.org: Ensure that the changes are live on https://wordpress.org/plugins/plugin-name/. This may take a few minutes. | ||
14. Close milestone: Edit the [X.Y.Z milestone](/milestone/#) with release date (in the `Due date (optional)` field) and link to GitHub release (in the `Description` field), then close the milestone. | ||
15. Punt incomplete items: If any open issues or PRs which were milestoned for `X.Y.Z` do not make it into the release, update their milestone to `X.Y.Z+1`, `X.Y+1.0`, `X+1.0.0` or `Future Release`. | ||
2. Version bump: Bump the version number in `package.json`, `package-lock.json`, `plugin.php`, `readme.txt`, and any other relevant files if it does not already reflect the version being released. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So minor thing but we don't actually need to manually change the version number in package-lock.json
if we are going to run an npm update
in the next step, as that will bump that version for us
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking that perhaps we remove the npm update
step as there could be a LOT of changes coming in there that require a bit more testing than would likely happen in the Test
step later on and worst case scenario could introduce something that holds up the release. I do, though, like the idea of trying to ensure we bump dependencies on some sort of regular basis but haven't figured out a better, reliable way to do that (though perhaps a GH Action that fires ~monthly/quarterly and opens a PR with the results of running npm update
?).
Co-authored-by: Darin Kotter <[email protected]>
Co-authored-by: Darin Kotter <[email protected]>
Co-authored-by: Darin Kotter <[email protected]>
This follows from the plugin-specific change in 10up/insert-special-characters#155 and applies it to our org-wide default CONTRIBUTING.md file for use in all projects.