Skip to main content
Version: 2022-05__Heidelbeere

Releasing

We want to release the beta version of the foodsharing website to production every two months. For one to two weeks, we stop merging features and focus on testing and bug fixing. If there are features not to be used for the next release, they are disabled. If there are still release blockers, we will talk about them in a call and decide what to do.

As soon as everything is ready, the master branch can be merged into the production branch. People with rights for this can be found in the gitlab-Wiki.

For organization, we use gitlab milestones. Their titles consist of the month and the year of the release and a fruit. If you are working on something which belongs to the next release, feel free to add it to the milestone. Please don't recycle milestones, but always use a new one for each release.

Workflow

Since we can tag the latest commit of the release on branch master, it is not necessary to create a new branch for the release. Also, in contrast to hotfixes which are cherry-picked, it is not necessary to merge the changes back into master after the release.

  • Update the date of the release in the changelog and commit it to branch master.
  • Add a new tag on the latest commit in master. We use the date in the format 2021-09-24 for the tag name.
    • either on the command line using git tag 2021-09-24 and git push –tags
    • or in the project's tag list on GitLab
  • Create a new merge request in GitLab from master to production. Merge it and wait for the deployment to finish.
  • Add a new section to the changelog and commit it to master.