diff options
author | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-03-16 14:09:49 +0300 |
---|---|---|
committer | Felix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de> | 2021-03-16 17:30:56 +0300 |
commit | c0f09ae12cf83789bd65153e4e6347858c266d7b (patch) | |
tree | 4e33a9329b4f2a28b6433ff0b835a5d7f275cd62 /VERSION.cmake | |
parent | 162dff952513fa370a9db78f9fb805139e054cfe (diff) |
Don't check against product name if checking server version
We should not rely on the product name because it is something the
user can change in the theming options on the server.
Fixes #3001
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'VERSION.cmake')
-rw-r--r-- | VERSION.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/VERSION.cmake b/VERSION.cmake index 1a3b7b05f..ae96ec120 100644 --- a/VERSION.cmake +++ b/VERSION.cmake @@ -4,6 +4,11 @@ set( MIRALL_VERSION_PATCH 81 ) set( MIRALL_VERSION_YEAR 2020 ) set( MIRALL_SOVERSION 0 ) +# Minimum supported server version according to https://docs.nextcloud.com/server/latest/admin_manual/release_schedule.html +set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_MAJOR 19) +set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_MINOR 0) +set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_PATCH 0) + if ( NOT DEFINED MIRALL_VERSION_SUFFIX ) set( MIRALL_VERSION_SUFFIX "git") #e.g. beta1, beta2, rc1 endif( NOT DEFINED MIRALL_VERSION_SUFFIX ) |