3 source ~
/devel
/common
/functions.sh
8 [[ -z "${t/*--testing*/}" && -n "$t" ]] && TESTING
=yes
10 if [[ "$1" == "major" ]]; then
14 elif [[ "$1" == "minor" ]]; then
25 ver
=${major}.${minor}.${sub}
27 ebegin Creating a tarball
28 git archive
--prefix=splashutils-gentoo-
${ver}/ HEAD:gentoo/ | bzip2 -f > "${cdir}/splashutils-gentoo-${ver}.
tar.bz2
"
33 if [[ "${TESTING}" == "no
" ]]; then
34 ebegin Updating version data
35 echo "major
=${major}" > ver-gentoo
36 echo "minor
=${minor}" >> ver-gentoo
37 echo "sub
=${sub}" >> ver-gentoo
40 ebegin Copying the tarball to dev.gentoo.org
41 scp splashutils-gentoo-${ver}.tar.bz2 spock@dev.gentoo.org:/home/spock
44 ebegin Copying the tarball to the SDS
45 cp splashutils-gentoo-${ver}.tar.bz2 ${SDS_ROOT}/htdocs/projects/fbsplash/archive