Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Fixing now publishing of builds to download server
Browse files Browse the repository at this point in the history
Change-Id: I819e713e720aff8eeab2393f2bef317a1d8306a4
Signed-off-by: Jochen Hiller <j.hiller@telekom.de>
  • Loading branch information
Jochen Hiller committed Oct 23, 2015
1 parent 08feea7 commit c95d74f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions distribution/publish/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ echo "UPLOAD_LOCATION=$UPLOAD_LOCATION"
echo "PUBLISH_LOG=$PUBLISH_LOG"

now=`date '+%Y/%m/%d %H:%M:%S'`
echo "$now: publishing last successful build" >>$PUBLISH_LOG
echo "$now: publishing last successful build for $version" >>$PUBLISH_LOG

echo `ls ./distribution/build/distributions/*.zip` >>$PUBLISH_LOG
cp ./distribution/build/distributions/*.zip $UPLOAD_LOCATION
echo `ls ./distribution/build/distributions/*.tar.gz` >>$PUBLISH_LOG
cp ./distribution/build/distributions/*.tar.gz $UPLOAD_LOCATION

now=`date '+%Y/%m/%d %H:%M:%S'`
echo "$now: finished publishing last successful build" >>$PUBLISH_LOG

# cleanup
rm /home/data/httpd/download.eclipse.org/concierge/concierge-incubation-5.0.0.SNAPSHOT-20151023130058.tar.gz
rm /home/data/httpd/download.eclipse.org/concierge/concierge-incubation-5.0.0.SNAPSHOT-20151023130058.zip
rm /home/data/httpd/download.eclipse.org/concierge/snapshots/concierge-0.8.0*
rm /home/data/httpd/download.eclipse.org/concierge/snapshots/concierge-0.9.0*
rm /home/data/httpd/download.eclipse.org/concierge/snapshots/concierge-1.0.0*
rm /home/data/httpd/download.eclipse.org/concierge/snapshots/publish.log

0 comments on commit c95d74f

Please sign in to comment.