diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-05-25 16:49:39 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-05-25 16:49:39 -0400 |
commit | 1b326051dd975a736c74353712dc9171f36dad0e (patch) | |
tree | bf3e800786978fbf5d365c4f557ba51ec5afbc69 | |
parent | 8bf08ebedcd22cf6ecfa5e890358586b05e7c4e7 (diff) |
update for 2010.1
-rwxr-xr-x | make_release | 17 |
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 | ||
3 | RELEASE_DIR=/home/bbb/releases | 3 | RELEASE_DIR=/home/bbb/releases |
4 | 4 | ||
5 | LIBLITMUS_DIR=/home/bbb/dev/liblitmus2008 | 5 | LIBLITMUS_DIR=/home/bbb/dev/liblitmus2010 |
6 | LITMUS_DIR=/home/bbb/dev/litmus2008 | 6 | LITMUS_DIR=/home/bbb/dev/litmus2010 |
7 | FT_TOOLS_DIR=/home/bbb/ft_tools/ | ||
7 | 8 | ||
8 | BASE_TAG="v2.6.24" | 9 | BASE_TAG="v2.6.32" |
9 | 10 | ||
10 | TAG=$1 | 11 | TAG=$1 |
11 | 12 | ||
@@ -40,10 +41,17 @@ function release_liblitmus { | |||
40 | return 0 | 41 | return 0 |
41 | } | 42 | } |
42 | 43 | ||
44 | function 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 | |||
43 | function release_litmus { | 51 | function 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 | ||
58 | release_litmus || die "Releasing LITMUS^RT failed." | 66 | release_litmus || die "Releasing LITMUS^RT failed." |
59 | release_liblitmus || die "Releasing liblitmus failed." | 67 | release_liblitmus || die "Releasing liblitmus failed." |
68 | release_ft_tools || die "Releasing ft_tools failed." | ||
60 | 69 | ||
61 | cd $TARGET | 70 | cd $TARGET |
62 | echo "Generating check sums." | 71 | echo "Generating check sums." |