From d437596f864cd483e014d95c6198bb6560e0fc6d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 23 May 2022 08:40:21 +0200 Subject: Wait before uploading release files --- scripts/release.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/release.sh b/scripts/release.sh index ffb7eb6fb..ffe2e6b28 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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" -- cgit v1.2.3