[PATCH,v2] xfstests: prepare for marking an initial versioned release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following adds the release script used in the other XFS user
space packages.  The version is arbitrarily set to 3.0.0, aligning
it roughly with the current version of the Linux kernel as well as
to the other XFS user space packages.

Signed-off-by: Alex Elder <aelder@xxxxxxx>
---
Changed for v2:
 - Dropped recent test summaries from the CHANGES file

 VERSION     |    2 +-
 doc/CHANGES |    4 ++++
 release.sh  |   25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletion(-)

Index: b/VERSION
===================================================================
--- a/VERSION
+++ b/VERSION
@@ -1,7 +1,7 @@
 #
 # This file is used by configure to get version information
 #
-PKG_MAJOR=1
+PKG_MAJOR=3
 PKG_MINOR=0
 PKG_REVISION=0
 PKG_BUILD=1
Index: b/doc/CHANGES
===================================================================
--- /dev/null
+++ b/doc/CHANGES
@@ -0,0 +1,4 @@
+xfstests-3.0.0 (13 October 2011)
+	- This is the first versioned release recorded for the
+	  xfstests suite.  Tests 240-263 have been added to the
+	  suite (to date) in 2011.
Index: b/release.sh
===================================================================
--- /dev/null
+++ b/release.sh
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Automate generation a new release
+#
+
+. ./VERSION
+
+version=${PKG_MAJOR}.${PKG_MINOR}.${PKG_REVISION}
+date=`date +"%-d %B %Y"`
+
+echo "Updating CHANGES"
+sed -e "s/${version}.*/${version} (${date})/" doc/CHANGES > doc/CHANGES.tmp && \
+	mv doc/CHANGES.tmp doc/CHANGES
+
+echo "Commiting CHANGES update to git"
+git commit -s -a -m "${version} release"
+
+echo "Tagging git repository"
+git tag -s -a -m "${version} release" v${version}
+
+# echo "Creating source tarball"
+# make dist
+
+echo "Done."
+echo "Please remember to push out tags using \"git push --tags\""

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux