public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH,v2] xfstests: prepare for marking an initial versioned release
@ 2011-10-13 16:31 Alex Elder
  2011-10-14 12:43 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Elder @ 2011-10-13 16:31 UTC (permalink / raw)
  To: xfs

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@sgi.com>
---
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-14 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-13 16:31 [PATCH,v2] xfstests: prepare for marking an initial versioned release Alex Elder
2011-10-14 12:43 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox