Skip to content

Release process

Leon Stafford edited this page Sep 5, 2021 · 4 revisions

Scenario: Current develop branch is at 7.1.7-dev and we want to release it as 7.1.7

  • rm -Rf vendor && rm composer.lock && composer install && composer run-script test
  • commit -m "update dependencies"
  • git push
  • ensure CHANGELOG.md contains all the relevant changes since the previous release
  • commit + push any changes to CHANGELOG.md
  • git checkout master
  • git reset --hard develop
  • edit wp2static.php, removing the -dev from the version number references.
  • git commit -m "release 7.1.7
  • git tag 7.1.7
  • git push && git push --tag
  • git checkout develop
  • edit ./wp2static.php, bumping version number to development version of next planned release version (minor point release if unsure)
  • in this scenario, we'll bump it to 7.1.8-dev
  • add a 7.1.8 section to CHANGELOG.md
  • git commit -m "reset dev version after release
  • git push
Clone this wiki locally