Throw error if no release version (#10396) (#10397)

automerge
This commit is contained in:
mergify[bot]
2020-06-03 11:15:39 -07:00
committed by GitHub
parent f4278d61df
commit aed1e51ef1

View File

@ -13,6 +13,11 @@ else
)
fi
if [[ -z "$LATEST_SOLANA_RELEASE_VERSION" ]]; then
echo Error: release version not defined
exit 1
fi
set -x
find html/ -name \*.html -exec sed -i "s/LATEST_SOLANA_RELEASE_VERSION/$LATEST_SOLANA_RELEASE_VERSION/g" {} \;
if [[ -n $CI ]]; then