mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 01:09:54 -05:00
1.3 KiB
1.3 KiB
title: "Releasing" date: 2018-05-02T00:00:00+00:00 weight: 40 geekdocRepo: https://github.com/owncloud/ocis-thumbnails geekdocEditPath: edit/master/docs
geekdocFilePath: releasing.md
{{< toc >}}
To release a new version of ocis-thumbnails, you have to follow a few simple steps.
Preperation
- 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 {{< / highlight >}}
- Create a pull request to the master branch.
Release
- After the preparation branch has been merged update your local master. {{< highlight txt >}} git checkout master git pull {{< / highlight >}}
- Create a new tag (preferably signed). {{< highlight txt >}} git tag -s vx.x.x -m "release vx.x.x" git push --tags {{< / highlight >}}
- Wait for CI and check that the GitHub release was published.
Congratulations, you just released ocis-thumbnails!