aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-23 08:40:21 +0200
committerChocobozzz <me@florianbigard.com>2022-05-23 08:40:21 +0200
commitd437596f864cd483e014d95c6198bb6560e0fc6d (patch)
treef0c9890c0e1789e7bb6b09ca0ccdf27fbdffeb01 /scripts
parent2e94ddee41afa5383b1ed2b1178cb9765c4467f3 (diff)
downloadPeerTube-d437596f864cd483e014d95c6198bb6560e0fc6d.tar.gz
PeerTube-d437596f864cd483e014d95c6198bb6560e0fc6d.tar.zst
PeerTube-d437596f864cd483e014d95c6198bb6560e0fc6d.zip
Wait before uploading release files
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh3
1 files changed, 3 insertions, 0 deletions
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"
102 github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version" --description "$changelog" "$github_prerelease_option" 102 github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version" --description "$changelog" "$github_prerelease_option"
103 fi 103 fi
104 104
105 # Wait for the release to be published, we had some issues when the files were not uploaded because of "unknown release" error
106 sleep 2
107
105 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name" 108 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name"
106 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name.asc" --file "$zip_name.asc" 109 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name.asc" --file "$zip_name.asc"
107 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$tar_name" --file "$tar_name" 110 github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$tar_name" --file "$tar_name"