mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-25 14:30:28 -05:00
1.6 KiB
1.6 KiB
title, date, weight, geekdocRepo, geekdocEditPath, geekdocFilePath
| title | date | weight | geekdocRepo | geekdocEditPath | geekdocFilePath |
|---|---|---|---|---|---|
| Releasing | 2020-05-22T00:00:00+00:00 | 60 | https://github.com/owncloud/ocis-reva | edit/master/docs | releasing.md |
{{< toc >}}
To release a new version of ocis-reva, you have to follow a few simple steps.
Preparation
- Before releasing, make sure that reva has been [updated to the desired version]({{< ref "updating.md" >}})
- Create a new branch e.g.
release-x.x.xwherex.x.xis the version you want to release. - Checkout the preparation branch.
- Create a new changelog folder and move the unreleased snippets there. {{< highlight txt >}} mkdir changelog/x.x.x_yyyy-MM-dd/ # yyyy-MM-dd is the current date mv changelog/unreleased/* changelog/x.x.x_yyyy-MM-dd/ {{< / highlight >}}
- Commit and push the changes {{< highlight txt >}} git add --all git commit -m "prepare release x.x.x" git push origin release-x.x.x {{< / highlight >}}
- Create a pull request to the master branch.
Release
- After the preparation branch has been merged update your local master.
- Wait for CI to generate a commit for the changelog update
- Check out master (or make sure to check out the generated changelog commit in case of subsequent merges) {{< highlight txt >}} git checkout master git pull origin master {{< / highlight >}}
- Create a new tag (preferably signed) and replace the version number accordingly. {{< highlight txt >}} git tag -s vx.x.x -m "release vx.x.x" git push origin vx.x.x {{< / highlight >}}
- Wait for CI and check that the GitHub release was published.
Congratulations, you just released ocis-reva!