From 8cfd88737530b682c52b66dc9246b6eea879deb9 Mon Sep 17 00:00:00 2001 From: xawotihs Date: Sun, 8 Dec 2013 01:10:29 +0100 Subject: [PATCH] Fixed upload script --- upload-binaries.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload-binaries.sh b/upload-binaries.sh index 123e953f8..efb900dc3 100755 --- a/upload-binaries.sh +++ b/upload-binaries.sh @@ -2,8 +2,8 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then if [ "$TRAVIS_BRANCH" == "alphas" ]; then echo -e "Creating a release\n" curl -X POST -H "Authorization: token ${GH_TOKEN}" \ - -d '{"tag_name": "alpha-'${TRAVIS_BUILD_NUMBER}'", "target_commitish": "master", "name": "Alpha release number '${TRAVIS_BUILD_NUMBER}'", "body": "Automatic alpha release generated by Travis CI'", "draft": false, "prerelease": true}' "https://api.github.com/repos/WagicProject/wagic/releases" > json.txt - export IDDI=`cat json.txt | jq '.id'` + -d '{"tag_name": "alpha-'${TRAVIS_BUILD_NUMBER}'", "target_commitish": "master", "name": "Alpha release number '${TRAVIS_BUILD_NUMBER}'", "body": "Automatic alpha release generated by Travis CI", "draft": false, "prerelease": true}' "https://api.github.com/repos/WagicProject/wagic/releases" > json.txt + IDDI=`cat json.txt | jq '.id'` echo -e "Uploading Core resources\n" curl -X POST -H "Authorization: token ${GH_TOKEN}" \