From 0ab800f99b0355b990809371832edf37df889621 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Fri, 14 Aug 2015 16:36:43 +0200 Subject: [PATCH] =pro Update url in publish samples script --- scripts/publish_samples.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish_samples.sh b/scripts/publish_samples.sh index ff2ea30333..9827835eb8 100755 --- a/scripts/publish_samples.sh +++ b/scripts/publish_samples.sh @@ -40,7 +40,7 @@ function fail { function logStatusUrl { local prop="uuid" local temp=`echo $json | sed 's/\\\\\//\//g' | sed 's/[{}]//g' | awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | sed 's/\"\:\"/\|/g' | sed 's/[\,]/ /g' | sed 's/\"//g' | grep -w $prop` - echolog "Check status of $name at: https://typesafe.com/activator/template/status/${temp##*|}" + echolog "Check status of $name at: https://www.typesafe.com/activator/template/status/${temp##*|}" } # print usage info @@ -88,7 +88,7 @@ names=`find akka-samples -name "activator.properties" -depth 2 | awk -F"/" '{pri for name in $names; do echolog "Publishing $name" - json=$(curl --data-urlencode "url=http://downloads.typesafe.com/akka/$name-$version.zip" --user "$user:$pwd" --progress-bar https://typesafe.com/activator/template/publish) + json=$(curl --data-urlencode "url=http://downloads.typesafe.com/akka/$name-$version.zip" --user "$user:$pwd" --progress-bar https://www.typesafe.com/activator/template/publish) logStatusUrl done