parent
c555ea0f76
commit
106a8ab720
|
@ -117,6 +117,11 @@ installtrusty () {
|
||||||
# This sets the naming convention for the deb packages
|
# This sets the naming convention for the deb packages
|
||||||
setdebpkgver () {
|
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
|
# Set VERSION to x.xx.x+x e.g. 1.30.2+15
|
||||||
# the last x is number of commits since release
|
# the last x is number of commits since release
|
||||||
# Creates zoneminder packages in the format: zoneminder-{version}-{release}
|
# Creates zoneminder packages in the format: zoneminder-{version}-{release}
|
||||||
|
|
Loading…
Reference in New Issue