3 # release.sh: script to roll a release tarball of darkstat.
4 # copyright (c) 2006-2013 Emil Mikulic.
6 # This is for developer use only and lives in the repo but
7 # shouldn't end up in a tarball.
13 # - Mail announcement to darkstat-announce@googlegroups.com
14 # - Update FreeBSD port, eg: http://www.freebsd.org/cgi/query-pr.cgi?pr=181277
15 # - Update freecode.com
18 echo "usage: $0 3.0.0rc0" >&2
94 "$@" ||
{ say ERROR
!; exit 1; }
100 run
make graphjs.h stylecss.h
104 run .
/test_headers.sh
105 if git status
--porcelain |
egrep -v '^\?\?' -q; then
106 say ERROR
: uncommitted changes
:
111 run
cp -r $files $PKG/.
112 run
sed -e "/AC_INIT/s/darkstat, [^,)]*/darkstat, $VERSION/" configure.ac
> $PKG/configure.ac
113 say
set version
: `grep '^AC_INIT' $PKG/configure.ac`
117 run
rm -r autom4te.cache
121 run
tar chof
$PKG.
tar $PKG
122 run
bzip2 -9vv $PKG.
tar