mirror of
https://github.com/vale981/LAAG1
synced 2025-03-05 09:11:40 -05:00
circle ci
This commit is contained in:
parent
4a926f04cf
commit
674125cbfc
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ jobs:
|
|||
command: |
|
||||
VERSION=$CIRCLE_BUILD_NUM
|
||||
API_JSON=$(printf '{"tag_name": "v%s","target_commitish": "master","name": "v%s","body": "Another Build %s","draft": false,"prerelease": false}' $VERSION $VERSION $VERSION)
|
||||
UPLOAD_URL=$(curl --data "$API_JSON" https://api.github.com/repos/vale981/LAAG1/releases?access_token=$TOKEN | jq -r '.assets_url')
|
||||
UPLOAD_URL=$(curl --data "$API_JSON" https://api.github.com/repos/vale981/LAAG1/releases?access_token=$TOKEN | jq -r '.upload_url')
|
||||
echo $UPLOAD_URL
|
||||
curl -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.manifold-preview" -H "Content-Type: application/pdf" --data-binary /tmp/artifacts/Lineare_Algebra.pdf "$UPLOAD_URL?name=Lineare_Algebra.pdf"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue