summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-25 16:49:39 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-25 16:49:39 -0400
commit1b326051dd975a736c74353712dc9171f36dad0e (patch)
treebf3e800786978fbf5d365c4f557ba51ec5afbc69
parent8bf08ebedcd22cf6ecfa5e890358586b05e7c4e7 (diff)
update for 2010.1
-rwxr-xr-xmake_release17
1 files changed, 13 insertions, 4 deletions
diff --git a/make_release b/make_release
index 201d5f6..3ed0410 100755
--- a/make_release
+++ b/make_release
@@ -2,10 +2,11 @@
2 2
3RELEASE_DIR=/home/bbb/releases 3RELEASE_DIR=/home/bbb/releases
4 4
5LIBLITMUS_DIR=/home/bbb/dev/liblitmus2008 5LIBLITMUS_DIR=/home/bbb/dev/liblitmus2010
6LITMUS_DIR=/home/bbb/dev/litmus2008 6LITMUS_DIR=/home/bbb/dev/litmus2010
7FT_TOOLS_DIR=/home/bbb/ft_tools/
7 8
8BASE_TAG="v2.6.24" 9BASE_TAG="v2.6.32"
9 10
10TAG=$1 11TAG=$1
11 12
@@ -40,10 +41,17 @@ function release_liblitmus {
40 return 0 41 return 0
41} 42}
42 43
44function release_ft_tools {
45 echo "Releasing ft_tools."
46 cd $FT_TOOLS_DIR || die "Could not cd to $FT_TOOLS_DIR."
47 archive ft_tools $TARGET/ft_tools-$TAG.tgz || die "Could not build archive."
48 return 0
49}
50
43function release_litmus { 51function release_litmus {
44 echo "Releasing LITMUS^RT." 52 echo "Releasing LITMUS^RT."
45 cd $LITMUS_DIR || die "Could not cd to $LITMUS_DIR." 53 cd $LITMUS_DIR || die "Could not cd to $LITMUS_DIR."
46 git-diff -p --stat $BASE_TAG $TAG > $TARGET/litmus-rt-$TAG.patch || \ 54 git diff -p --stat $BASE_TAG $TAG > $TARGET/litmus-rt-$TAG.patch || \
47 die "Could not create patch." 55 die "Could not create patch."
48 return 0 56 return 0
49} 57}
@@ -57,6 +65,7 @@ mkdir -p $TARGET || die "Could not make directory $TARGET."
57 65
58release_litmus || die "Releasing LITMUS^RT failed." 66release_litmus || die "Releasing LITMUS^RT failed."
59release_liblitmus || die "Releasing liblitmus failed." 67release_liblitmus || die "Releasing liblitmus failed."
68release_ft_tools || die "Releasing ft_tools failed."
60 69
61cd $TARGET 70cd $TARGET
62echo "Generating check sums." 71echo "Generating check sums."