Skip to content

Latest commit

 

History

History
48 lines (43 loc) · 2.25 KB

RELEASE_PROCESS.rst

File metadata and controls

48 lines (43 loc) · 2.25 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_9) are fully synced and merged.

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

    git diff HEAD..xdebug_2_9 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/xdebug-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.9.5 (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_9 && 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. Mantis: "release" the version, and make sure there is a new one.

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

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

  24. Check out master branch, and run: git merge --strategy=ours xdebug_2_9

  25. git push origin master xdebug_2_9

  26. Wait until AppVeyor is ready

  27. Upload the source package to PECL

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

  29. Create sha256 files for the new releases:

    for i in *2.9.*{tgz,dll}; do

    echo $i; sha256sum $i | sed 's/.*//' > $i.sha256.txt;

    done

  30. Add the downloads, DDLs, SHA256 files, and news file to git and commit with "Go with 2.9.5"