Source

testman4trac / package.sh

Full commit
VER=$1

PY_VERSION=`./get_python_version.sh`

echo $PY_VERSION

. ./clean.sh

. ./build_011.sh
zip -r ../testman4trac.$VER-Py_$PY_VERSION-Trac_0.11.zip bin
tar cvzf ../testmanager.$VER-Py_$PY_VERSION-Trac_0.11.tar.gz bin

. ./clean.sh

. ./build.sh
zip -r ../testman4trac.$VER-Py_$PY_VERSION-Trac_0.12-1.0.zip bin
tar cvzf ../testmanager.$VER-Py_$PY_VERSION-Trac_0.12-1.0.tar.gz bin

. ./clean.sh

mkdir testman4trac.$VER

cp *.sh testman4trac.$VER
cp *.txt testman4trac.$VER
cp *.cmd testman4trac.$VER
cp -R sqlexecutor testman4trac.$VER
cp -R testman4trac testman4trac.$VER
cp -R tracgenericclass testman4trac.$VER
cp -R tracgenericworkflow testman4trac.$VER

cd testman4trac.$VER

. ./clean.sh
find . -type d -name .svn -print -exec rm -rf {} \;
find . -type d -name .hg -print -exec rm -rf {} \;
find . -type f -name "*.bak" -print -exec rm -f {} \;

cd ..

zip -r ../testman4trac.$VER.src.zip testman4trac.$VER
tar cvzf ../testmanager.$VER.src.tar.gz testman4trac.$VER

#rm -rf testman4trac.$VER testman4trac.$VER.SVN testman4trac.$VER.BITBKT