-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into ant/refactor
- Loading branch information
Showing
63 changed files
with
1,488 additions
and
1,253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# This script fetches the VSCode VSIX from the latest CI run for a given PR ID | ||
# For now, it only works for PR branches within the repo (no forked PRs) | ||
# | ||
# Usage: ./scripts/pr_install_vsix.sh <pr_id> | ||
|
||
usage="Usage: ./scripts/pr_install_vsix.sh <pr_id>" | ||
prId=${1:?"Missing PR id. ${usage}"} | ||
|
||
branch=$(gh pr view $prId --json headRefName --jq ".headRefName") | ||
runId=$(gh run list -b $branch --limit 1 --json databaseId --jq ".[0].databaseId") | ||
|
||
rm -Rf /tmp/bicep-vsix | ||
gh run -R Azure/bicep download $runId -n vscode-bicep.vsix -D /tmp/bicep-vsix | ||
code --install-extension /tmp/bicep-vsix/vscode-bicep.vsix | ||
rm -Rf /tmp/bicep-vsix |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.