mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 20:00:15 +10:00
(experiment) remove jq double quotes
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
# figure out latest tag by calling MS update API
|
# figure out latest tag by calling MS update API
|
||||||
UPDATE_INFO=$(curl https://update.code.visualstudio.com/api/update/darwin/stable/lol)
|
UPDATE_INFO=$(curl https://update.code.visualstudio.com/api/update/darwin/stable/lol)
|
||||||
export LATEST_MS_COMMIT=$(echo $UPDATE_INFO | jq '.version')
|
export LATEST_MS_COMMIT=$(echo $UPDATE_INFO | jq -r '.version')
|
||||||
export LATEST_MS_TAG=$(echo $UPDATE_INFO | jq '.name')
|
export LATEST_MS_TAG=$(echo $UPDATE_INFO | jq -r '.name')
|
||||||
echo "Got the latest MS tag: ${LATEST_MS_TAG}"
|
echo "Got the latest MS tag: ${LATEST_MS_TAG}"
|
||||||
|
|
||||||
git clone https://github.com/Microsoft/vscode.git --branch $LATEST_MS_TAG --depth 1
|
git clone https://github.com/Microsoft/vscode.git --branch $LATEST_MS_TAG --depth 1
|
||||||
|
|||||||
Reference in New Issue
Block a user