Skip to content

Latest commit

 

History

History
69 lines (62 loc) · 3.06 KB

RELEASE-HOWTO.md

File metadata and controls

69 lines (62 loc) · 3.06 KB

Release How-To

  1. Repo feditest: merge develop into main

  2. Repo feditest-tests-fediverse: merge develop into main

  3. Repo feditest-tests-sandbox: merge develop into main

  4. On the Mac:

    1. Repo feditest: git checkout main
    2. In pyproject.toml, change project / version to the new version VERSION (needed so the generated files have the right version in them before check-in)
    3. Clean rebuild:
      1. rm -rf venv.*
      2. make venv PYTHON=python3.11
      3. make lint: ruff and mypy show no errors
      4. make
    4. Repo feditest-tests-sandbox: git checkout main
    5. Clean re-run and report generation of the sandbox tests:
      1. make -f Makefile.generate clean FEDITEST=../feditest/venv.darwin.main/bin/feditest
      2. make -f Makefile.run clean FEDITEST=../feditest/venv.darwin.main/bin/feditest
      3. make -f Makefile.generate examples FEDITEST=../feditest/venv.darwin.main/bin/feditest
      4. make -f Makefile.run sandbox FEDITEST=../feditest/venv.darwin.main/bin/feditest
      5. open examples/testresults/*.html and check for plausbility of reports
  5. On UBOS:

    1. Repo feditest: git checkout main
    2. Clean rebuild:
    3. rm -rf venv.*
    4. make
    5. Repo feditest-tests-fediverse: git checkout main
    6. Clean re-run and report generation of the sandbox tests:
      1. make -f Makefile.generate clean FEDITEST=../feditest/venv.linux.main/bin/feditest
      2. make -f Makefile.run clean FEDITEST=../feditest/venv.linux.main/bin/feditest
      3. make -f Makefile.generate examples FEDITEST=../feditest/venv.linux.main/bin/feditest
      4. make -f Makefile.run examples FEDITEST=../feditest/venv.linux.main/bin/feditest
      5. xdg-open examples/testresults/*.html and check for plausbility of reports
  6. On the Mac:

    1. Update repo feditest-tests-fediverse
      1. git commit to main
      2. git tag -a vVERSION -m vVERSION
      3. git push
      4. git push --tags
    2. Update repo feditest-tests-sandbox
      1. git commit to main
      2. git tag -a vVERSION -m vVERSION
      3. git push
      4. git push --tags
    3. Update repo feditest:
      1. Change the python-version value in pyproject.toml to the "production value" that permits Python 3.11 and greater
      2. git commit to main
      3. git tag -a vVERSION -m vVERSION
      4. git push
      5. git push --tags
    4. Release to PyPi
      1. make release PYTHON=python3.11
      2. venv.release/bin/twine upload dist/*
      3. pip install --upgrade feditest
      4. feditest version now shows VERSION
    5. Return python-version value in pyproject.toml to the "development value" that only permits Python 3.11
  7. On UBOS:

    1. Build feditest for the UBOS package repos so it can be installed with pacman -S feditest
  8. Release notes:

    1. Repo: feditest.org: create release notes
    2. git push
  9. Announce:

    1. @[email protected]: post link to release notes
    2. https://matrix.to/#/#fediverse-testing:matrix.org: post link to release notes