Am Mon, 5 Apr 2021 16:29:26 +0200
schrieb "'Kay F. Jahnke' via hugin and other free panoramic software"
<[email protected]>:

> Am 05.04.21 um 12:17 schrieb Kornel Benko:
> > Am Mon, 5 Apr 2021 11:54:59 +0200
> > schrieb "'Kay F. Jahnke' via hugin and other free panoramic software"
> > <[email protected]>:
> >   
> >> lux version 1.0.8 released!
> >>  
> > 
> > Missing tag for 1.08.
> > 
> >   $ git describe --match 1.0.7 --tags
> > 1.0.7-69-g5a096a0
> > 
> > vs
> >   $ git describe --match 1.0.8 --tags
> > fatal: No names found, cannot describe anything.
> > Exit 128  
> 
> My mistake - forgot the git push --tags.
> 
> Kay
> 

OK, now the patch to handle the case that we are just at the start of the 
searched tag.

        Kornel

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20210406200546.5b9bdc0a%40admin1-desktop.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bc12562..0361f6c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -193,10 +193,12 @@ if(LUX_GITVERSION)
     ERROR_VARIABLE tmp_GIT_ERROR
     OUTPUT_STRIP_TRAILING_WHITESPACE)
   if (tmp_GIT_RESULT EQUAL 0)
     if (tmp_LUX_PACKAGE_RELEASE MATCHES "^${pv_major}.${pv_minor}.${pv_patch}-\([0-9]+\)")
       set(LUX_PACKAGE_RELEASE ${CMAKE_MATCH_1})
+    elseif(tmp_LUX_PACKAGE_RELEASE MATCHES "^${pv_major}.${pv_minor}.${pv_patch}")
+      set(LUX_PACKAGE_RELEASE 0)
     endif()
   endif()
   message(STATUS "LUX_PACKAGE_RELEASE = ${LUX_PACKAGE_RELEASE}")
 endif()
 

Attachment: pgpvnsYgFgseX.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to