From 635c0b5930e0451491b86e9364d402bdda463c47 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Mon, 6 Jan 2025 15:08:38 +0100 Subject: [PATCH] fix: upstream files --- get_repo.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/get_repo.sh b/get_repo.sh index 5bfcc62c49e..37a424aef32 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -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 @@ -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