fix: remove "-insider" from MS_TAG [skip ci]
This commit is contained in:
parent
7bbad32dc8
commit
f8b2cc75ae
1 changed files with 5 additions and 1 deletions
|
@ -22,12 +22,16 @@ if [[ -z "${RELEASE_VERSION}" ]]; then
|
||||||
if [[ -z "${MS_COMMIT}" ]]; then
|
if [[ -z "${MS_COMMIT}" ]]; then
|
||||||
export MS_COMMIT=$( echo "${UPDATE_INFO}" | jq -r '.version' )
|
export MS_COMMIT=$( echo "${UPDATE_INFO}" | jq -r '.version' )
|
||||||
export MS_TAG=$( echo "${UPDATE_INFO}" | jq -r '.name' )
|
export MS_TAG=$( echo "${UPDATE_INFO}" | jq -r '.name' )
|
||||||
|
|
||||||
|
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
||||||
|
export MS_TAG="${MS_TAG/\-insider/}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
date=$( date +%Y%j )
|
date=$( date +%Y%j )
|
||||||
|
|
||||||
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
||||||
export RELEASE_VERSION="${MS_TAG/\-insider/}.${date: -5}-insider"
|
export RELEASE_VERSION="${MS_TAG}.${date: -5}-insider"
|
||||||
else
|
else
|
||||||
export RELEASE_VERSION="${MS_TAG}.${date: -5}"
|
export RELEASE_VERSION="${MS_TAG}.${date: -5}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue