-
Notifications
You must be signed in to change notification settings - Fork 157
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
Release: 2.1.0 #1297
Release: 2.1.0 #1297
Conversation
@@ -1178,7 +1178,7 @@ function update_content_image_urls( int $post_id, array $images ) { | |||
/** | |||
* Filter whether image URLS should be updated in the content. | |||
* | |||
* @since x.x.x | |||
* @since 2.1.0 |
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.
nice catch, may be worth adding to the release steps as well?
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.
It is already there: Since tag updates: ensure @ since tags indicate the new version, replacing x.x.x, n.e.x.t and other placeholders
Though I don't think we have this same step across our other plugins so would be nice to add that in, as we often don't update those until I see them later
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.
Looks good, thanks for handling the release!
develop
, create a release branch namedrelease/2.1.0
for your changes.distributor.php
,package-lock.json
,package.json
,readme.txt
andtests/php/bootstrap.php
if it does not already reflect the version being released. Indistributor.php
update both the plugin "Version:" property and the pluginDT_VERSION
constant.CHANGELOG.md
.CREDITS.md
file with any new contributors, confirm maintainers are accurate.README.md
is geared toward GitHub andreadme.txt
contains WordPress.org-specific content. The two are slightly different.webpack.config.release.js
.@since
tags indicate the new version, replacingx.x.x
,n.e.x.t
and other placeholders.develop
(or merge the Pull Request), then do the same fordevelop
intotrunk
(git checkout develop && git pull origin develop && git checkout trunk && git pull origin trunk && git merge --no-ff develop
).trunk
contains the stable development version.git push origin trunk
).trunk
todevelop
to ensure no additional changes were missed.stable
branch to ensure the contents of the diffs are as expected.stable
branch and test it locally to ensure everything works as expected. It is recommended that you rename the existingdistributor
directory and check outstable
fresh because switching branches does not delete files. This can be done withgit clone --single-branch --branch stable [email protected]:10up/distributor.git
stable
branch. Paste the changelog fromCHANGELOG.md
into the body of the release and include a link to the closed issues on the milestone. The release should now appear under releases.stable
branch.Due date (optional)
field) and link to GitHub release (in theDescription
field), then close the milestone.2.1.0
do not make it into the release, update their milestone to2.2.0
, orFuture Release
.