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