diff --git a/utils/packpack/startpackpack.sh b/utils/packpack/startpackpack.sh index e50579525..9f010d190 100755 --- a/utils/packpack/startpackpack.sh +++ b/utils/packpack/startpackpack.sh @@ -117,6 +117,11 @@ installtrusty () { # This sets the naming convention for the deb packages setdebpkgver () { + # DEBUG + git describe --long --always + sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\1/p') + sed -n 's/^\([0-9\.]*\)-\([0-9]*\)-\([a-z0-9]*\)/\2/p') + # Set VERSION to x.xx.x+x e.g. 1.30.2+15 # the last x is number of commits since release # Creates zoneminder packages in the format: zoneminder-{version}-{release}