Permalink
Browse files

do not remove release folder or only the latest generated archive wil…

…l stay
  • Loading branch information...
1 parent 75e6b28 commit 8a5a5c02cb1c4387860038c9b170ea318bb56d3f @kerphi committed Oct 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 tools/build-release
View
@@ -55,8 +55,7 @@ tar czf $PFC_ARCHIVE_NAME$PFC_AN_SUFFIX.tar.gz $PFC_ARCHIVE_NAME/
zip -Tq9r $PFC_ARCHIVE_NAME$PFC_AN_SUFFIX.zip $PFC_ARCHIVE_NAME/
# move archives into a version directory ready to upload
-rm -rf $PFC_PATH/$VERSION
-mkdir $PFC_PATH/$VERSION
+mkdir -p $PFC_PATH/$VERSION
mv $PFC_ARCHIVE_NAME$PFC_AN_SUFFIX.tar.gz $PFC_PATH/$VERSION/
mv $PFC_ARCHIVE_NAME$PFC_AN_SUFFIX.zip $PFC_PATH/$VERSION/

0 comments on commit 8a5a5c0

Please sign in to comment.