Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
xzer committed Jan 19, 2016
1 parent a1fbb8f commit e9a62eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release.sh
Expand Up @@ -32,19 +32,19 @@ fi

echo copyTarget is $copyTarget

cd $sitefolder/updatesite
cd $sitefolder
rm -rf $copyTarget
cp -R $currentFolder/Runjettyrun/updatesite/target/repository .
mv repository $copyTarget

echo copied files to $sitefolder/updatesite/$copyTarget
echo copied files to $sitefolder/$copyTarget

if [ $copyTarget == "current" ]
then
rm -rf ./archive/$currentVersion
cp -R $copyTarget ./archive/.
mv ./archive/$copyTarget ./archive/$currentVersion
echo archied file to $sitefolder/updatesite/archive/$currentVersion
echo archied file to $sitefolder/archive/$currentVersion
fi

echo release finished.
Expand Down

0 comments on commit e9a62eb

Please sign in to comment.