Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.88 KB

File metadata and controls

43 lines (35 loc) · 1.88 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_3_3) are fully synced and merged.

  3. Update composer.json, package.xml, config.m4, and config.w32 to reflect supported range of PHP versions.

  4. For first release in minor version (i.e. 3.5.0alpha1), merge package.xml from old bug fix branch into master and new branch and commit:

    git diff HEAD..xdebug_3_4 package.xml | patch -p1
    
  5. Run: php .build.scripts/make-release.php <version>

  6. Move existing release entry down in package.xml

  7. Include new snippet in /tmp/package.xml

  8. Run commands from output

  9. Create a release from the tag on GitHub

  10. Update www.xdebug.org views/home/updates.php with snippet

  11. Update www.xdebug.org src/XdebugVersion.php with snippet

  12. Update pre-generated www.xdebug.org data/news/... file

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

Wait until GitHub Actions has created the artefacts.

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

  2. Write GitHub release notes taking the rendered news article as starting point, and save with "Publish release"

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

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

  5. Check out master branch, and run: git merge --strategy=ours xdebug_3_5

  6. git push origin master xdebug_3_5

  7. Add files from GHA and source to www.xdebug.org html/files

  8. Create sha256 files for the new releases:

    for i in *3.5.*{tgz,dll}; do \
      echo $i; sha256sum $i | sed 's/\ .*//' > $i.sha256.txt; \
    done
    
  9. Add the downloads, DDLs, SHA256 files, and news file to git and commit with "Go with 3.5.1"

  10. Upload the source package to PECL