diff options
Diffstat (limited to 'snap')
-rw-r--r-- | snap/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/snap/CMakeLists.txt b/snap/CMakeLists.txt index efd16e7bb..55754f3c1 100644 --- a/snap/CMakeLists.txt +++ b/snap/CMakeLists.txt @@ -32,8 +32,7 @@ set(SNAP_NAME "remmina") set(SNAP_VERSION ${REMMINA_VERSION}) -if(NOT ${GIT_REVISION} STREQUAL ${REMMINA_VERSION_SUFFIX} AND - NOT ${GIT_REVISION} MATCHES "^v?[0-9].[0-9].[0-9](-rcgit.[0-9]*)?$") +if(NOT ${GIT_REVISION} MATCHES "^v?[0-9].[0-9].[0-9][0-9]?$") set(SNAP_VERSION ${SNAP_VERSION}+git${GIT_REVISION}) endif() |