Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cfd887375 |
@@ -2,8 +2,8 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|||||||
if [ "$TRAVIS_BRANCH" == "alphas" ]; then
|
if [ "$TRAVIS_BRANCH" == "alphas" ]; then
|
||||||
echo -e "Creating a release\n"
|
echo -e "Creating a release\n"
|
||||||
curl -X POST -H "Authorization: token ${GH_TOKEN}" \
|
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
|
-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'`
|
IDDI=`cat json.txt | jq '.id'`
|
||||||
|
|
||||||
echo -e "Uploading Core resources\n"
|
echo -e "Uploading Core resources\n"
|
||||||
curl -X POST -H "Authorization: token ${GH_TOKEN}" \
|
curl -X POST -H "Authorization: token ${GH_TOKEN}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user