Skip to content

Commit 3130aa4

Browse files
committed
release armature
1 parent 9034f92 commit 3130aa4

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

NOTES

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,3 @@ itself. Thus, we use __STDC__ (both in h/sysdep.h and in zephyr.h) to
2525
guess whether the compiler will handle const, prototypes, and stdarg.
2626
This is unfortunately not as reliable as using autoconf features like
2727
AC_C_CONST.
28-
29-
The Zephyr system version number is kept in server/version.c, and
30-
should be updated when releases are made.
31-

README renamed to README.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
This is a 3.0.1 release candidate of the Project Athena Zephyr
1+
This is version @VERSION@ of the Project Athena Zephyr
22
notification system.
33

44
Zephyr allows users to send messages to other users or to groups of

release

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/bin/sh -x
2+
3+
VERSION=$1
4+
if test -z "$VERSION"; then
5+
echo $0: usage: $0 version
6+
exit 1
7+
fi
8+
9+
if test -n "$(git status --porcelain)"; then
10+
echo $0: git status is wordy, you probably want to stash and note your branch
11+
exit 2
12+
fi
13+
git tag $VERSION -m 'release $VERSION'
14+
git checkout --detach
15+
git clean -fxd
16+
git rm .gitignore
17+
git rm -r debian
18+
git rm release
19+
echo $VERSION > VERSION
20+
sed -e "s/@VERSION@/$VERSION/" README.in > README
21+
git rm README.in
22+
libtoolize -ic
23+
autoreconf
24+
git add -A
25+
git commit -m "release $VERSION"
26+
git tag release/$VERSION -m "release $VERSION processed for git archive"
27+
28+
git checkout master

0 commit comments

Comments
 (0)