aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/how to do a release
diff options
context:
space:
mode:
authorgarret1317 <garret@airmail.cc>2025-10-16 09:24:13 +0100
committergarret1317 <garret@airmail.cc>2025-10-16 09:24:13 +0100
commit5c7029e614ae162c5080e6a9619a86f0bb273e4f (patch)
tree679e317b0c4a3bddb8557f8187baed74a3124174 /contrib/how to do a release
parent8e0bcc6875922667b04c26129d7f2eb4aa36bd0b (diff)
parentbd3436ba0b71b2f87f83afd329a4ad202a59cedb (diff)
downloadyt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.tar.gz
yt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.tar.bz2
yt-dlp-rajiko-5c7029e614ae162c5080e6a9619a86f0bb273e4f.zip
Merge branch 'master' into aSmartPhone8
KNOWN ISSUE: TF30 doesn't work - account doesn't get passed to new auth API
Diffstat (limited to 'contrib/how to do a release')
-rw-r--r--contrib/how to do a release46
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/how to do a release b/contrib/how to do a release
new file mode 100644
index 0000000..ba27910
--- /dev/null
+++ b/contrib/how to do a release
@@ -0,0 +1,46 @@
+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
+
+WHEEL + SOURCE TARBALL
+python3 -m build
+
+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 sha256 blocks on the site
+
+## update the changelog file
+
+write in html, paste into the feed xml like <![CDATA[
+stuff
+]]>
+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
+
+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
+
+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