Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
Merge pull request #3 from nextcloud/build_parameters
Browse files Browse the repository at this point in the history
Add two release parameters
  • Loading branch information
LukasReschke committed Aug 23, 2016
2 parents 54f0178 + 04fe1c0 commit 5cb21b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,12 @@ docker build -t nextcloud-client-win32:<version> 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=<STRING>`: for a generic suffix name such as `beta` or `rc1`
* `-DMIRALL_VERSION_BUILD=<INT>`: 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.

0 comments on commit 5cb21b0

Please sign in to comment.