You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Branch: Starting from develop, cut a release branch named release/1.6.0 for your changes.
Version bump: Bump the version number in distributor.php, distributor.pot, and readme.txt if it does not already reflect the version being released. In distributor.php update both the plugin "Version:" property and the plugin DT_VERSION constant, ensuring that it is suffixed with -dev.
Changelog: Add/update the changelog in CHANGELOG.md.
Props: update CREDITS.md file with any new contributors, confirm maintainers are accurate.
Readme updates: Make any other readme changes as necessary. README.md is geared toward GitHub and readme.txt contains WordPress.org-specific content. The two are slightly different.
Translations: Update the .pot file by running npm run makepot.
Merge: Make a non-fast-forward merge from your release branch to develop (or merge the pull request), then do the same for develop into master (git checkout master && git merge --no-ff develop). master contains the stable development version.
Build: In the master branch, run npm install && npm run release. This will create a subfolder called release with the stable branch cloned into it as a worktree and latest changes copied over. Ensure that any new files are in the release folder; if not, you may need to add them to gulp-tasks/copy.js.
Check: Are there any modified files in master? If so, head back to develop, run all necessary tasks and commit those changes before heading back to Step 6.
Test: Switch to running Distributor from the version in the release subfolder and run through a few common tasks in the UI to ensure functionality.
Push: First master: git push, then from within the release directory, add all files and push them to origin stable: git push origin stable.
Release: Create a new release, naming the tag and the release with the new version number, and targeting the stable branch. Paste the changelog from CHANGELOG.md into the body of the release and include a link to the closed issues on the 1.6.0 milestone. The release should now appear under releases.
Version bump (again): In the develop branch (cd ../ && git checkout develop) bump the version number in distributor.php, distributor.pot, and readme.txt to 1.6.1-dev. It's okay if the next release might be a different version number; that change can be handled right before release in the first step, as might also be the case with @since annotations.
Close milestone: Edit the 1.6.0 milestone with release date (in the Due date (optional) field) and link to GitHub release (in the Description field), then close the milestone.
Punt incomplete items: If any open issues or PRs which were milestoned for 1.6.0 do not make it into the release, update their milestone to 2.0.0 or Future Release.
Curious when we might see this release. I have a project that has some interest in using Distributor in production and some of the 1.6.0 bugfixes are crucial.
@jshwlkr we're back to finalizing the Distributor 1.6 release this week and hope to have it released soon. If you subscribe to updates on this issue, then you'll get a notification when it's closed and the release should be imminent at that point.
This issue is for tracking changes for the 1.6.0 release. Target release date: TBD.
Pre-release steps
Release steps
develop
, cut a release branch namedrelease/1.6.0
for your changes.distributor.php
,distributor.pot
, andreadme.txt
if it does not already reflect the version being released. Indistributor.php
update both the plugin "Version:" property and the pluginDT_VERSION
constant, ensuring that it is suffixed with-dev
.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..pot
file by runningnpm run makepot
.develop
(or merge the pull request), then do the same fordevelop
intomaster
(git checkout master && git merge --no-ff develop
).master
contains the stable development version.master
branch, runnpm install && npm run release
. This will create a subfolder calledrelease
with thestable
branch cloned into it as a worktree and latest changes copied over. Ensure that any new files are in therelease
folder; if not, you may need to add them togulp-tasks/copy.js
.master
? If so, head back todevelop
, run all necessary tasks and commit those changes before heading back to Step 6.release
subfolder and run through a few common tasks in the UI to ensure functionality.git push
, then from within therelease
directory, add all files and push them toorigin stable
:git push origin stable
.stable
branch. Paste the changelog fromCHANGELOG.md
into the body of the release and include a link to the closed issues on the 1.6.0 milestone. The release should now appear under releases.develop
branch (cd ../ && git checkout develop
) bump the version number indistributor.php
,distributor.pot
, andreadme.txt
to1.6.1-dev
. It's okay if the next release might be a different version number; that change can be handled right before release in the first step, as might also be the case with@since
annotations.Due date (optional)
field) and link to GitHub release (in theDescription field
), then close the milestone.1.6.0
do not make it into the release, update their milestone to2.0.0
orFuture Release
.Post-release steps
The text was updated successfully, but these errors were encountered: