From c99766a71efca85ff989df01163662e25fa4093e Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Thu, 8 Mar 2018 22:31:27 +0100 Subject: [PATCH] deploy.sh: Create relases as published, not as draft. --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index db62fd4..167cff2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -56,7 +56,7 @@ echo "Building it..." gradle build || error "Build failed. What did you do?!" echo "Generating a release on Github..." -json=$(ruby -e "require 'json'; puts({tag_name: '$VERSION', name: '$VERSION', draft: true, body: \$stdin.read}.to_json)" <<< "$release_notes") || error "Couldn't generate JSON for Github" +json=$(ruby -e "require 'json'; puts({tag_name: '$VERSION', name: '$VERSION', body: \$stdin.read}.to_json)" <<< "$release_notes") || error "Couldn't generate JSON for Github" json=$(curl $CURL_OPTS https://api.github.com/repos/fabianonline/telegram_backup/releases -XPOST -d "$json") || error "Github failure"