]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/release.sh
Translated using Weblate (Toki Pona (tok))
[github/Chocobozzz/PeerTube.git] / scripts / release.sh
index ffb7eb6fb5661048ea9ecc4750a104695824c094..76970b79b5d7548c95a926156f4cb6ef031ab543 100755 (executable)
@@ -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"
@@ -119,7 +122,7 @@ rm -f "./client/dist/embed-stats.json"
 
       # Release types package
       npm run generate-types-package "$version"
-      cd types/dist
+      cd packages/types/dist
       npm publish --access public
   fi
 )