Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2017-02-18 01:51:53 +0300
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2017-02-18 01:51:53 +0300
commit58f664e653950a064ea8b65a402545f9675126a3 (patch)
treef5c7727511818ac3854eacfe81d3054875920c47 /snap
parent3e149a1407709c2c8c8b7d4eba379b4eea867980 (diff)
snap: properly parse git tags revisions
Diffstat (limited to 'snap')
-rw-r--r--snap/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/snap/CMakeLists.txt b/snap/CMakeLists.txt
index 40448e057..ba5fe1ddf 100644
--- a/snap/CMakeLists.txt
+++ b/snap/CMakeLists.txt
@@ -33,7 +33,7 @@
set(SNAP_NAME "remmina")
set(SNAP_VERSION ${REMMINA_VERSION})
if (NOT ${GIT_REVISION} STREQUAL ${REMMINA_VERSION_SUFFIX} AND
- NOT ${GIT_REVISION} MATCHES "^rcgit-[0-9]*")
+ NOT ${GIT_REVISION} MATCHES "^v?[0-9].[0-9].[0-9](-rcgit.[0-9]*)?$")
set(SNAP_VERSION ${SNAP_VERSION}+git${GIT_REVISION})
endif()