From f8b2cc75aea49df23f3af0a04c8c6ef6ee68db81 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Wed, 31 Aug 2022 09:54:04 +0200 Subject: [PATCH] fix: remove "-insider" from MS_TAG [skip ci] --- get_repo.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/get_repo.sh b/get_repo.sh index f861aea..b99c9ef 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -22,12 +22,16 @@ if [[ -z "${RELEASE_VERSION}" ]]; then if [[ -z "${MS_COMMIT}" ]]; then export MS_COMMIT=$( echo "${UPDATE_INFO}" | jq -r '.version' ) export MS_TAG=$( echo "${UPDATE_INFO}" | jq -r '.name' ) + + if [[ "${VSCODE_QUALITY}" == "insider" ]]; then + export MS_TAG="${MS_TAG/\-insider/}" + fi fi date=$( date +%Y%j ) if [[ "${VSCODE_QUALITY}" == "insider" ]]; then - export RELEASE_VERSION="${MS_TAG/\-insider/}.${date: -5}-insider" + export RELEASE_VERSION="${MS_TAG}.${date: -5}-insider" else export RELEASE_VERSION="${MS_TAG}.${date: -5}" fi