mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-24 11:50:14 +10:00
fix: correctly get MS_COMMIT [skip ci]
This commit is contained in:
@@ -40,6 +40,13 @@ else
|
|||||||
echo "Bad RELEASE_VERSION: ${RELEASE_VERSION}"
|
echo "Bad RELEASE_VERSION: ${RELEASE_VERSION}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
else
|
||||||
if [[ "${RELEASE_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+$ ]];
|
if [[ "${RELEASE_VERSION}" =~ ^([0-9]+\.[0-9]+\.[0-9]+)\.[0-9]+$ ]];
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user