From aa725eee62dd6689cc3b524001f1e9faf6b43fa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 28 Mar 2019 08:21:34 +0100 Subject: [PATCH] Add release docs from github wiki MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- docs/Release.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 docs/Release.md diff --git a/docs/Release.md b/docs/Release.md new file mode 100644 index 000000000..78e206e78 --- /dev/null +++ b/docs/Release.md @@ -0,0 +1,55 @@ +Releasing a new version works quite easy with [krankerl](https://github.com/ChristophWurst/krankerl) and [github-release](https://github.com/aktau/github-release) installed: + +1. Run krankerl to build the package + +``` +krankerl package +``` + +2. Tag the release on GitHub + +``` +# For a prerelease +github-release release -u nextcloud -r deck -t v0.3.1 -p + +# For a regular release +github-release release -u nextcloud -r deck -t v0.3.1 +``` + +3. Upload the release package to GitHub + +``` +github-release upload -u nextcloud -r deck -t v0.3.1 -n deck.tar.gz -f build/artifacts/deck.tar.gz +``` + +4. Run krankerl to release the package to the app store (add `--nightly` for prerelease packages) + +``` +krankerl publish https://github.com/nextcloud/deck/releases/download/v0.3.1/deck.tar.gz +``` + +## Release PR template + +``` +## Backports + +- [ ] ... + +## Translations + +- [ ] ... + +## Release + +- [ ] Set proper Nextcloud versions in info.xml +- [ ] Update changelog +- [ ] Build test release +- [ ] Tested on + - [ ] Nextcloud 13 + - [ ] Nextcloud 14 + - [ ] Nextcloud 15 +- [ ] Merge +- [ ] Build final release +- [ ] Publish release +- [ ] Upload to the app store +```