Files
openfoodnetwork/.github/ISSUE_TEMPLATE/release.md
Maikel Linke 1da9dbc53e Add more detail to the release task
New developers need a bit more guidance. And it's actually quite handy
for me, too.

We may want to remove duplication between this document and the wiki.
2021-11-23 17:21:37 +11:00

2.6 KiB

name, about, title, labels, assignees
name about title labels assignees
Release task Track the process of a new release Release v

Preparation on Thursday

Testing

Finish on Tuesday

  • Update translations unless content has been removed from config/locales/en.yml between this release draft and current master.
    Command line instructions
    git checkout master # same version as the release draft
    git fetch upstream
    git diff upstream master -- config/locales/en.yml
    tx pull --force # if no changes or only additions in the locale
    git checkout --detach # if we need to commit new translations
    git commit -a -m "Update translations"
    git tag vx.y.z # put the release number in here
    git push upstream vx.y.z
    
  • Publish and notify #global-community:

    The next release is ready: https://github.com/openfoodfoundation/openfoodnetwork/releases/latest

  • Deploy the new release to all managed instances.
    Command line instructions
    cd ofn-install
    git pull
    (cd ../ofn-secrets && git pull)
    ansible-playbook --limit all-prod --extra-vars "git_version=vx.y.z" playbooks/deploy.yml
    
  • Notify #instance-managers:

    @instance_managers The new release has been deployed.

  • Nudge next release manager

The full process is described at https://github.com/openfoodfoundation/openfoodnetwork/wiki/Releasing.