mirror of
https://github.com/VSCodium/vscodium.git
synced 2024-12-12 16:03:26 +03:00
Merge pull request #39 from fzerorubigd/master
Do not hard code the repository Fixes #37
This commit is contained in:
commit
b5b89730a4
@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/VSCodium/vscodium/releases/tags/$LATEST_MS_TAG)
|
REPOSITORY=${TRAVIS_REPO_SLUG:-"VSCodium/vscodium"}
|
||||||
|
GITHUB_RESPONSE=$(curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/$REPOSITORY/releases/tags/$LATEST_MS_TAG)
|
||||||
echo "Github response: ${GITHUB_RESPONSE}"
|
echo "Github response: ${GITHUB_RESPONSE}"
|
||||||
VSCODIUM_ASSETS=$(echo $GITHUB_RESPONSE | jq '.assets')
|
VSCODIUM_ASSETS=$(echo $GITHUB_RESPONSE | jq '.assets')
|
||||||
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
|
echo "VSCodium assets: ${VSCODIUM_ASSETS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user