From f114b585d955ff3091151f097574f20ef2a59084 Mon Sep 17 00:00:00 2001 From: Greg Althaus Date: Wed, 20 Sep 2017 01:18:45 -0500 Subject: [PATCH] Publish alwatys --- tools/publish.sh | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/tools/publish.sh b/tools/publish.sh index af3a4b12..41eae8c6 100755 --- a/tools/publish.sh +++ b/tools/publish.sh @@ -10,15 +10,12 @@ go get -u github.com/stevenroose/remarshal . tools/version.sh version="$Prepart$MajorV.$MinorV.$PatchV$Extra-$GITHASH" -version_re='tip' -if [[ $version =~ $version_re ]] ; then - TOKEN=R0cketSk8ts - for i in drp-community-content ; do - echo "Publishing $i to cloud" - CONTENT=$i - remarshal -i $CONTENT.yaml -o $CONTENT.json -if yaml -of json - curl -X PUT -T $CONTENT.json https://qww9e4paf1.execute-api.us-west-2.amazonaws.com/main/support/content/$CONTENT?token=$TOKEN - echo - done -fi +TOKEN=R0cketSk8ts +for i in drp-community-content ; do + echo "Publishing $i to cloud" + CONTENT=$i + remarshal -i $CONTENT.yaml -o $CONTENT.json -if yaml -of json + curl -X PUT -T $CONTENT.json https://qww9e4paf1.execute-api.us-west-2.amazonaws.com/main/support/content/$CONTENT?token=$TOKEN + echo +done