version 1.14, 2007/11/20 20:08:31 |
version 1.18, 2008/04/16 21:54:28 |
|
|
#!/bin/sh |
#!/bin/sh |
# $RedRiver: release.sh,v 1.13 2007/11/19 22:08:37 andrew Exp $ |
# $RedRiver: release.sh,v 1.17 2008/04/16 20:49:54 andrew Exp $ |
# |
# |
# Copyright (c) 2002 - 2007 Steven Roberts <fenderq@fenderq.com> |
# Copyright (c) 2002 - 2007 Steven Roberts <fenderq@fenderq.com> |
# |
# |
|
|
CVSROOT="anoncvs@rt.fm:/cvs" |
CVSROOT="anoncvs@rt.fm:/cvs" |
export CVSROOT |
export CVSROOT |
|
|
|
if [ -e ${HOME}/.releaserc ]; then |
|
. ${HOME}/.releaserc |
|
fi |
|
|
# See http://www.openbsd.org/anoncvs.html for instructions on fetching the |
# See http://www.openbsd.org/anoncvs.html for instructions on fetching the |
# sources for the first time. |
# sources for the first time. |
|
|
update_sources() { |
update_sources() { |
echo "---------- Update sources ----------" |
echo "---------- Update sources ----------" |
for d in $SOURCES; do |
for d in $SOURCES; do |
_cvstag=-r$CVSTAG |
_cvstag=-r$TAG |
if [ X"$CVSTAG" == X"HEAD" ]; then |
if [ X"$TAG" == X"HEAD" ]; then |
_cvstag=-A |
_cvstag="" |
fi |
fi |
|
echo "cd $d && cvs -q -z6 update $_cvstag -Pd" |
cd $d && cvs -q -z6 update $_cvstag -Pd |
cd $d && cvs -q -z6 update $_cvstag -Pd |
done |
done |
} |
} |
|
|
make_xenocara_release |
make_xenocara_release |
make_system_release |
make_system_release |
;; |
;; |
case $i in |
|
update) |
update) |
update_sources |
update_sources |
;; |
;; |