Skip to content

Commit

Permalink
Silly fix of URLs echoed in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Göran Krampe committed Jun 10, 2016
1 parent 92ef97e commit 0f275cc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,11 @@ if [ ! -z "$DOBUILD" ] ; then
fi

if [ ! -z "$DOUPLOAD" ] ; then
echo PASTE INTO GITTER:
if [ -z "$PLATFORM" ] || [ "$PLATFORM" == "linux" ] ; then
# Upload debs
s3cmd put dist/*.deb s3://evothings-download/
s3cmd setacl --acl-public s3://evothings-download/$NAME-$VER.deb
#s3cmd setacl --acl-public s3://evothings-download/$NAME-$VER-i386.deb
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.deb
fi

if [ -z "$PLATFORM" ] || [ "$PLATFORM" == "win" ] ; then
Expand All @@ -94,7 +92,6 @@ if [ ! -z "$DOUPLOAD" ] ; then
s3cmd put /tmp/$NAME-$VER.exe s3://evothings-download/
s3cmd setacl --acl-public s3://evothings-download/$NAME-$VER.exe
rm /tmp/$NAME-$VER.exe
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.exe
fi

if [ -z "$PLATFORM" ] || [ "$PLATFORM" == "osx" ] ; then
Expand All @@ -103,8 +100,13 @@ if [ ! -z "$DOUPLOAD" ] ; then
s3cmd put /tmp/$NAME-$VER.dmg s3://evothings-download/
s3cmd setacl --acl-public s3://evothings-download/$NAME-$VER.dmg
rm /tmp/$NAME-$VER.dmg
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.dmg
fi

echo PASTE INTO GITTER:
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.deb
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.dmg
echo https://s3-eu-west-1.amazonaws.com/evothings-download/$NAME-$VER.exe

fi

echo "DONE"

0 comments on commit 0f275cc

Please sign in to comment.