From 04fe1c0dcf276e97d33de559e3b75fe95cfa2887 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 23 Aug 2016 12:10:28 +0200 Subject: [PATCH] Add two release parameters --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5a4d465..35f37a9 100644 --- a/README.md +++ b/README.md @@ -100,3 +100,12 @@ docker build -t nextcloud-client-win32: client/admin/win/docker/ ```bash docker run -v "$PWD:/home/user/" nextcloud-client-win32:2.2.2 /home/user/win/build.sh $(id -u) ``` + +## Building a release + +When we build releases there are two additional cmake parameters to consider: + +* `-DMIRALL_VERSION_SUFFIX=`: for a generic suffix name such as `beta` or `rc1` +* `-DMIRALL_VERSION_BUILD=`: an internal build number. Should be strickly increasing. This allows update detection from `rc` to `final` + +Note that this had mostly usage on Windows and OS X. On linux the package manager will take care of all this.