Page MenuHomePhabricator

Tag releases of mediawiki-selenium gem
Closed, ResolvedPublic

Description

Some releases of mediawiki-selenium ruby gem[1][2] are already tagged (thanks to hashar), but a few recent ones are not.

1: https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/selenium
2: https://rubygems.org/gems/mediawiki-selenium


Version: unspecified
Severity: normal

Details

Reference
bz60613

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport set Reference to bz60613.
bzimport added a subscriber: Unknown Object (MLST).

It would be nice to have a script that would handle the release for you. The repository is mediawiki/selenium.git

The script should look at lib/mediawiki/selenium/version.rb and bump the version constant:

VERSION = "0.1.20"

Then git add and commit that change using as a commit message:

Bumped patch version to 0.1.21

Then tag the resulting commit and ask the person to push the commit and tag in Gerrit.

The script might need an option to let one bump the major/minor/patch version number.

I have tagged previous versions:

$ git tag 0.1.14 82a4478
$ git tag 0.1.15 64c88e9
$ git tag 0.1.16 1018e26
$ git tag 0.1.18 edffb5c
$ git tag 0.1.19 df564f5
$ git tag 0.1.20 a511190

$ git push --tags
Total 0 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 6, done
To ssh://hashar@gerrit.wikimedia.org:29418/mediawiki/selenium.git

  • [new tag] 0.1.14 -> 0.1.14
  • [new tag] 0.1.15 -> 0.1.15
  • [new tag] 0.1.16 -> 0.1.16
  • [new tag] 0.1.18 -> 0.1.18
  • [new tag] 0.1.19 -> 0.1.19
  • [new tag] 0.1.20 -> 0.1.20

$

0.1.17 never existed so I skipped that tag.