Skip to content

Commit

Permalink
improve import vsix script
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriy Svydenko <[email protected]>
  • Loading branch information
svor committed Jul 12, 2023
1 parent c6a18f6 commit 40994dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/dockerfiles/import-vsix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ for i in $(seq 0 "$((numberOfExtensions - 1))"); do
vsixUniversalDownloadLink=$(echo "${vsixMetadata}" | jq -r '.downloads."universal"')
if [[ $vsixUniversalDownloadLink != null ]]; then
vsixDownloadLink=$vsixUniversalDownloadLink
else
# get linux download link
vsixLinuxDownloadLink=$(echo "${vsixMetadata}" | jq -r '.downloads."linux-x64"')
if [[ $vsixLinuxDownloadLink != null ]]; then
vsixDownloadLink=$vsixLinuxDownloadLink
fi
fi
fi

Expand Down

0 comments on commit 40994dd

Please sign in to comment.