Mercurial > dive4elements > river
comparison contrib/make_flys_release/make_release.sh @ 6612:e5d8cbce3040
Add cleanup to the release script
This step often failed
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 18 Jul 2013 17:55:15 +0200 |
parents | 004b87755fa4 |
children | 0e7c667018fc |
comparison
equal
deleted
inserted
replaced
6611:dfdeed3e997e | 6612:e5d8cbce3040 |
---|---|
365 | 365 |
366 mv $WORK_DIR/artifactsdb $WORK_DIR/server/ | 366 mv $WORK_DIR/artifactsdb $WORK_DIR/server/ |
367 mv $WORK_DIR/datacagedb $WORK_DIR/server/ | 367 mv $WORK_DIR/datacagedb $WORK_DIR/server/ |
368 | 368 |
369 echo "INFO: create tarball" | 369 echo "INFO: create tarball" |
370 if [ -d "$WORK_DIR/flys-$VERSION" ]; then | |
371 echo "INFO: removing old directory" | |
372 rm -rf "$WORK_DIR/flys-$VERSION" | |
373 fi | |
374 | |
370 mkdir $WORK_DIR/flys-$VERSION | 375 mkdir $WORK_DIR/flys-$VERSION |
371 mv $WORK_DIR/server $WORK_DIR/client $WORK_DIR/flys-$VERSION | 376 mv $WORK_DIR/server $WORK_DIR/client $WORK_DIR/flys-$VERSION |
372 cd $WORK_DIR | 377 cd $WORK_DIR |
373 tar cfz flys-$VERSION.tar.gz flys-$VERSION | 378 tar cfz flys-$VERSION.tar.gz flys-$VERSION |
374 echo "INFO: cleanup" | 379 echo "INFO: cleanup" |