fix: correctly get MS_COMMIT [skip ci]
This commit is contained in:
parent
ba9a6a1319
commit
f212b71f2a
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue