Clone this repo:

Branches

  1. bb6940b build: Updating mediawiki/mediawiki-phan-config to 0.15.0 by libraryupgrader · 3 weeks ago main
  2. df85ec9 build: Updating phpunit/phpunit to 9.6.21 by libraryupgrader · 5 weeks ago
  3. 27961ee build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 by libraryupgrader · 9 weeks ago
  4. cb8609a build: Updating composer dependencies by libraryupgrader · 5 months ago
  5. dc3602c Go for 100% coverage... by Reedy · 8 months ago

Latest Stable Version License

wikimedia/update-history

A simple tool to update HISTORY.md files when making a library release.

Additional documentation about this library can be found on mediawiki.org.

Usage

To make a release:

Step 1

bin/update-history [patch|minor|major]

This increments the version number for a patch release (or, if you specify, for a minor or major release instead) and updates the HISTORY.md with the new version number and the current date.

Step 2

git add HISTORY.md
git commit -m "Release <My Package> <VERSION>"
git tag <VERSION>

This step will be automated in the future.

Step 3

bin/update-history

This adds a new placeholder "x.x.x (not yet released)" section to the HISTORY.md.

Step 4

git add HISTORY.md
git commit -m "Bump HISTORY.md after release"

This step will be automated in the future.

Step 5 (optional)

Push these commits to your code review system.

git review

When they are merged you may have to verify that the tag created above still corresponds to the final merged commit, and if not:

git tag -f <new git hash> <VERSION>

And finally, push the new tag:

git push origin <VERSION>

  NODES
composer 1
os 1
Verify 1