[Lsb-messages] /var/www/bzr/lsb/devel/tet-harness r118: fix up version stuff again (bug 3599)

Mats Wichmann mats at linuxfoundation.org
Fri Apr 18 17:36:29 UTC 2014


------------------------------------------------------------
revno: 118
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: tet-harness
timestamp: Fri 2014-04-18 11:36:29 -0600
message:
  fix up version stuff again (bug 3599)
modified:
  package/Makefile
-------------- next part --------------
=== modified file 'package/Makefile'
--- a/package/Makefile	2014-04-05 12:50:39 +0000
+++ b/package/Makefile	2014-04-18 17:36:29 +0000
@@ -22,7 +22,22 @@
 LSB_PACKAGE=lsb-tet3-lite
 VERSION=3.7
 LSBRelease=4
-RELEASE=25
+BUILDNO=26
+
+#
+# Derive date string for daily snapshots
+ISO_DATE=$(shell date +"%Y%m%d")
+
+# Handle different version generation for snapshots than for official builds
+# OFFICIAL_RELEASE should be set to the tag to extract from CVS
+ifdef OFFICIAL_RELEASE
+# EXPORT_TAG should be set to the bzr revisionspec to use
+RELEASE=$(BUILDNO)
+EXPORT_TAG=--revision=$(OFFICIAL_RELEASE)
+else
+RELEASE=0.$(ISO_DATE).$(BUILDNO)
+EXPORT_TAG=
+endif
 LSB_RELEASE=$(RELEASE).lsb$(LSBRelease)
 
 FULL_PACKAGE_NAME=$(PACKAGE)-$(VERSION)



More information about the lsb-messages mailing list