From f212b71f2ad77613d9c61d1b2214eeebd4ef4c0f Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Tue, 30 Aug 2022 10:53:02 +0200 Subject: [PATCH] fix: correctly get MS_COMMIT [skip ci] --- get_repo.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/get_repo.sh b/get_repo.sh index 23e16c7..f861aea 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -40,6 +40,13 @@ else echo "Bad RELEASE_VERSION: ${RELEASE_VERSION}" exit 1 fi + + if [[ "${MS_TAG}" == "$(jq -r '.tag' insider.json)" ]]; then + export MS_COMMIT=$(jq -r '.commit' insider.json) + else + echo "No MS_COMMIT for ${RELEASE_VERSION}" + exit 1 + fi else if [[ "${RELEASE_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+$ ]]; then