Skip to content

Commit

Permalink
fix: upstream files
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Jan 6, 2025
1 parent 14e93ea commit 635c0b5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions get_repo.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#!/usr/bin/env bash
# shellcheck disable=SC2129

set -ex

echo "${GITHUB_REPOSITORY}"
pwd
set -e

# git workaround
if [[ "${CI_BUILD}" != "no" ]]; then
Expand Down Expand Up @@ -56,8 +53,8 @@ else
fi
fi

if [[ "${MS_TAG}" == "$( jq -r '.tag' "${VSCODE_QUALITY}".json )" ]]; then
MS_COMMIT=$( jq -r '.commit' "${VSCODE_QUALITY}".json )
if [[ "${MS_TAG}" == "$( jq -r '.tag' "./upstream/${VSCODE_QUALITY}.json" )" ]]; then
MS_COMMIT=$( jq -r '.commit' "./upstream/${VSCODE_QUALITY}.json" )
else
echo "Error: No MS_COMMIT for ${RELEASE_VERSION}"
exit 1
Expand Down

0 comments on commit 635c0b5

Please sign in to comment.