Wait before uploading release files

pull/5004/head
Chocobozzz 2022-05-23 08:40:21 +02:00
parent 2e94ddee41
commit d437596f86
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ rm -f "./client/dist/embed-stats.json"
github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version" --description "$changelog" "$github_prerelease_option"
fi
# Wait for the release to be published, we had some issues when the files were not uploaded because of "unknown release" error
sleep 2
github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name"
github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name.asc" --file "$zip_name.asc"
github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$tar_name" --file "$tar_name"