Skip to content

Latest commit

 

History

History
42 lines (39 loc) · 2.1 KB

RELEASE_PROCESS.rst

File metadata and controls

42 lines (39 loc) · 2.1 KB
  1. Mantis: Create new version if needed, and move "Fixed in version" from -dev to release: https://bugs.xdebug.org/manage_proj_edit_page.php?project_id=1

  2. Make sure both the master and release branch (i.e. xdebug_2_8) are fully synced and merged.

  3. For first release in minor version (i.e. 2.8.x), merge package.xml from old bug fix branch into master and commit:

    git diff HEAD..xdebug_2_7 package.xml | patch -p1
    
  4. Update template.rc and php_xdebug.h with new version number. Use upper case "RC".

  5. Move existing release entry down in package.xml

  6. Create a new release entry in package.xml, use upper case "RC".

  7. Reword package.xml so that it all makes sense!

  8. Rebuild from source with: ~/bin/rebuild.sh

  9. Run xdebug.ini update script from xdebug.org repository: php html/docs/convert.php > ~/dev/php/derickr-xdebug/xdebug.ini

  10. Run "pecl package"

  11. Install new package with pecl install xdebug-*.tgz

  12. Commit template.rc, php_xdebug.h, package.xml, xdebug.ini, and RELEASE_PROCESS.rst with text: Go with 2.8.0RC1 (use upper case 'RC').

  13. Tag package with git tag -u ${GPGKEY} -m <version number> <version number> (use upper case "RC").

  14. git push origin master xdebug_2_8 && git push --tags

  15. Disable extra AppVeyor build (the one without the tag)

  16. Update www.xdebug.org views/home/updates.php

  17. Update www.xdebug.org src/XdebugVersion.php

  18. Update www.xdebug.org src/Controller/DocsController.php

  19. Write news item in www.xdebug.org data/news

  20. Write Patreon post taking the rendered news article as starting point

  21. Wait until AppVeyor is ready

  22. Upload the source package to PECL

  23. Add files from AppVeyor and source to www.xdebug.org html/files

  24. Add the downloads, DDLs, and news file to git and commit with "Go with 2.8.0alpha1"

  25. Mantis: "release" the version, and make sure there is a new one.

  26. In the release branch, update template.rc and php_xdebug.h to the new version

  27. Commit template.rc and php_xdebug.h with "Back to -dev"

  28. Check out master branch, and run: git merge --strategy=ours xdebug_2_8

  29. git push origin master xdebug_2_8