"$directory_name/client/package.json" "$directory_name/config" \
"$directory_name/dist" "$directory_name/package.json" \
"$directory_name/scripts" "$directory_name/support" \
- "$directory_name/tsconfig.json" "$directory_name/yarn.lock")
+ "$directory_name/yarn.lock")
# temporary setup
cd ..
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"
git merge "$branch"
git push origin master
git checkout "$branch"
+
+ # Release types package
+ npm run generate-types-package "$version"
+ cd packages/types/dist
+ npm publish --access public
fi
)