mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-23 01:06:17 +00:00
deploy.sh: Create relases as published, not as draft.
This commit is contained in:
parent
79b68bd93d
commit
c99766a71e
@ -56,7 +56,7 @@ echo "Building it..."
|
|||||||
gradle build || error "Build failed. What did you do?!"
|
gradle build || error "Build failed. What did you do?!"
|
||||||
|
|
||||||
echo "Generating a release on Github..."
|
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"
|
json=$(curl $CURL_OPTS https://api.github.com/repos/fabianonline/telegram_backup/releases -XPOST -d "$json") || error "Github failure"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user