From f3a16083b9f09c132dce6f262a1fb30f672b9441 Mon Sep 17 00:00:00 2001 From: garret1317 Date: Sun, 14 Sep 2025 15:04:02 +0100 Subject: rename "misc" -> "contrib" --- contrib/how to do a release | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 contrib/how to do a release (limited to 'contrib/how to do a release') diff --git a/contrib/how to do a release b/contrib/how to do a release new file mode 100644 index 0000000..6e91e14 --- /dev/null +++ b/contrib/how to do a release @@ -0,0 +1,41 @@ +putting this here because i'll forget how to do it otherwise + +update the pyproject.toml +tag it in git, eg v1.0 + +## build the builds +python3 -m build + +and then put BOTH items from `dist` into the pip index dir - ~/site2/yt-dlp-rajiko/pip/yt-dlp-rajiko/ +because without the .whl pip has to "build" it itself, with all the stuff that needs to be installed for that to work + +run script to update the pip index html and the dl/ "latest" symlinks +this also updates the sha256s on the site + +## update the changelog file + +write in html, paste into the feed xml like +make sure to set the link, date +to get date use: +git log --pretty --date=rfc2822 + +include the pip instructions, sha256sum etc + +now push to the server + +!!NEW!! +upload to pip proper as well +go to dl/ dir and do +twine upload yt_dlp_rajiko-1.x* + + +## update github + +paste the changelog output into a github release, upload the new builds +change link at the bottom to just "below" + +post in the radiko thread on 5ch if i can be bothered + +and thats probably all -- cgit v1.2.3-70-g09d2 From 72292f904c85b9f31338ec2ac2b6ae737070acea Mon Sep 17 00:00:00 2001 From: garret1317 Date: Fri, 26 Sep 2025 14:14:16 +0100 Subject: update release instructions --- contrib/how to do a release | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'contrib/how to do a release') diff --git a/contrib/how to do a release b/contrib/how to do a release index 6e91e14..ba27910 100644 --- a/contrib/how to do a release +++ b/contrib/how to do a release @@ -4,13 +4,18 @@ update the pyproject.toml tag it in git, eg v1.0 ## build the builds + +WHEEL + SOURCE TARBALL python3 -m build -and then put BOTH items from `dist` into the pip index dir - ~/site2/yt-dlp-rajiko/pip/yt-dlp-rajiko/ +ZIP BUNDLE +contrib/bundle.sh + +and then put ALL items from `dist` into the pip index dir - ~/site2/yt-dlp-rajiko/pip/yt-dlp-rajiko/ because without the .whl pip has to "build" it itself, with all the stuff that needs to be installed for that to work run script to update the pip index html and the dl/ "latest" symlinks -this also updates the sha256s on the site +this also updates the sha256 blocks on the site ## update the changelog file @@ -25,10 +30,10 @@ include the pip instructions, sha256sum etc now push to the server -!!NEW!! -upload to pip proper as well -go to dl/ dir and do -twine upload yt_dlp_rajiko-1.x* +NOW UPLOAD TO PYPI AS WELL + +go to dl/ dir and do like +twine upload yt_dlp_rajiko-1.x-py3-none-any.whl yt_dlp_rajiko-1.x.tar.gz ## update github -- cgit v1.2.3-70-g09d2