fix: fixing release script (#903)

This commit is contained in:
Baptiste Augrain 2021-11-06 12:26:36 +01:00 committed by GitHub
parent 6acd2fbfe1
commit 0469329683
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,8 @@ fi
cd artifacts
set +e
for FILE in *
do
if [[ -f "${FILE}" ]] && [[ "${FILE}" != *.sha1 ]] && [[ "${FILE}" != *.sha256 ]]; then
@ -25,6 +27,7 @@ do
if [[ $? != 0 ]]; then
while true
do
echo "RE-Uploading '${FILE}'"
gh release upload --clobber "${MS_TAG}" "${FILE}" "${FILE}.sha1" "${FILE}.sha256"
if [[ $? == 0 ]]; then