blob: ab2a2dd043fcfbdf7f1a7ba4c20ca3fba0f78093 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/bin/sh
set -e
# clean
make clean
make update-po
make clean
if [ -n "`svn st`" ] ; then
echo "uncommited changes !!!"
exit 1
fi
# make distribution tarball
make dist
# read version
VERSION=`grep 'static const char VERSION\[\] =' src/Version.h | awk '{ print $6 }' | sed -e 's/[";]//g'`
# tag version
echo "Tagging: $VERSION"
svn cp -m "Releasing Menuorg $VERSION" svn+e-tobi://e-tobi.net/menuorg/trunk \
"svn+e-tobi://e-tobi.net/menuorg/tags/$VERSION"
|