Fix: MD031 - Fenced code blocks should be surrounded by blank lines https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md031.md MD040 - Fenced code blocks should have a language specified https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md Bug: T324766 Change-Id: I7914563975b3012302ff1b305818d49ae12e9f03
1.9 KiB
Contribute to wdio-mediawiki
Release process
-
Look for any outstanding bugs. Especially (unreleased) regressions should be addressed before a release. https://phabricator.wikimedia.org/tag/mediawiki-core-tests
-
Create or reset your
releasebranch to the latest head of the repository# From mediawiki-core git remote update && git checkout -B release -t origin/HEAD -
Add release notes to CHANGELOG.md. Copy the output of the following as your starting point, and remove any entries that don't affect the public API. As well as remove prefixes that are redundant within the context of this package (no "selenium:" or "wdio-mediawiki:"). Entries that add, remove, or change public methods should be their own bullet point, start with the class or module file that they are a part of, for example "Util: Added
foo()method".# From tests/selenium/wdio-mediawiki/ export LAST_RELEASE=$(git log --format='%h' --grep='wdio-mediawiki: Release' -n1 .) git log --format='* %s.' --no-merges --reverse "${LAST_RELEASE}...HEAD" . | sort | grep -vE '^\* (build|eslint|docs?|tests?):' -
Ensure the README.md documentation is up-to-date with any methods that were added, changed, or removed.
-
Set the next release version in package.json.
-
Run
npm installin the root of MediaWiki Core to updatepackage-lock.jsonfile. Make sure the machine has the same versions of Node.js and npm as CI.# From mediawiki-core npm install -
Stage and save your commit, and submit it to Gerrit:
# From mediawiki-core git add -p git commit -m "wdio-mediawiki: Release X.Y.Z" git review -
After the release commit has been merged by CI, perform the actual release:
# From tests/selenium/wdio-mediawiki/ npm publish