fix: fixing release script (#903)
This commit is contained in:
parent
6acd2fbfe1
commit
0469329683
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue