[Lsb-messages] /var/www/bzr/lsb/devel/tet-harness r116: Use snapshot scheme similar to that in bug 3599.
Jeff Licquia
licquia at linuxfoundation.org
Sun Mar 23 04:47:23 UTC 2014
------------------------------------------------------------
revno: 116
committer: Jeff Licquia <licquia at linuxfoundation.org>
branch nick: tet-harness
timestamp: Sun 2014-03-23 00:47:23 -0400
message:
Use snapshot scheme similar to that in bug 3599.
modified:
package/Makefile
-------------- next part --------------
=== modified file 'package/Makefile'
--- a/package/Makefile 2013-05-28 16:42:10 +0000
+++ b/package/Makefile 2014-03-23 04:47:23 +0000
@@ -25,6 +25,20 @@
RELEASE=25
LSB_RELEASE=$(RELEASE).lsb$(LSBRelease)
+#
+# 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
+EXPORT_TAG=--revision=$(OFFICIAL_RELEASE)
+else
+LSB_RELEASE=$(RELEASE).$(ISO_DATE).lsb$(LSBRelease)
+EXPORT_TAG=
+endif
+
FULL_PACKAGE_NAME=$(PACKAGE)-$(VERSION)
LSB_FULL_PACKAGE_NAME=$(LSB_PACKAGE)-$(VERSION)
More information about the lsb-messages
mailing list