Throw error if no release version (#10396)

This commit is contained in:
Tyera Eulberg 2020-06-03 12:08:32 -06:00 committed by GitHub
parent f58b6b3431
commit 6c46f5c5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

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