diff --git a/BuildFiles/Packaging/repackage-build b/BuildFiles/Packaging/repackage-build index 5f0bbd83..797a6af9 100755 --- a/BuildFiles/Packaging/repackage-build +++ b/BuildFiles/Packaging/repackage-build @@ -15,12 +15,15 @@ svn update if [ "$1" == "release" ]; then DROPFOLDER=release + PACKAGELABEL="Stable" echo "Packaging FINISHED RELEASE for super-stable deployments." elif [ "$1" == "sprint" ]; then + PACKAGELABEL="Sprint $(cat ../lastbuild/swarmops/$DROPFOLDER/SprintName.txt | tr -d '\n')" DROPFOLDER=sprint echo "Packaging END-OF-SPRINT for normal deployments." elif [ "$1" == "" ]; then DROPFOLDER=internal + PACKAGELABEL="internal" echo "internal" > ../lastbuild/swarmops/internal/SprintName.txt echo "Packaging internal test build." else @@ -46,12 +49,10 @@ echo "" echo "Notifying developers that new build has packaged for test/deployment..." if [ "$DROPFOLDER" == "internal" ]; then - PACKAGELABEL="$DROPFOLDER" echo "$(cat ../lastbuild/swarmops/internal/CommitMessage.txt)" > deploymsg.txt echo "" >> deploymsg.txt echo "The packages (swarmops-frontend-internal, swarmops-backend-internal) are available from repositories now, and can be tested at http://dev.swarmops.com/ as usual. Last 3 commits listed above." >> deploymsg.txt else - PACKAGELABEL="$DROPFOLDER $(cat ../lastbuild/swarmops/$DROPFOLDER/SprintName.txt | tr -d '\n')" echo "NOTE: this is a $DROPFOLDER package bundle. It will deploy automatically to live systems via apt-get upgrade. Yay, we made another sprint!" > deploymsg.txt fi