scripts/draft-release: add sleep to avoid race condition on uploading the binaries (#4647)
It seems that the github API is a little slow/laggy with regards to propagation of whether a release tag has been made or not. This sleep should fix it and avoid having to retrigger builds.
This commit is contained in:
parent
0bde845a17
commit
2a10b2fd14
@ -17,6 +17,9 @@ FOLDER="${2-}"
|
||||
echo "Drafting release"
|
||||
github-release release --user storj --repo storj --tag "$TAG" --draft
|
||||
|
||||
echo "Sleep 10 seconds in order to wait for release propagation"
|
||||
sleep 10
|
||||
|
||||
echo "Uploading binaries to release draft"
|
||||
for app in $apps;
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user