aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Sommer <royso@wix.com>2023-11-23 18:23:19 +0200
committerRoy Sommer <royso@wix.com>2023-11-23 18:23:19 +0200
commit237e304e260d63e93763868352ad4df4311f340d (patch)
tree0b09e21568387c3a2612cc6ddf23efe191503e07
parentRelease Version 1.12.2 (#73) (diff)
downloadtaskipy2-237e304e260d63e93763868352ad4df4311f340d.zip
release script now opens a pr
-rw-r--r--.hooks/make_release_commit.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/.hooks/make_release_commit.py b/.hooks/make_release_commit.py
index 6f329d4..0c4b3a7 100644
--- a/.hooks/make_release_commit.py
+++ b/.hooks/make_release_commit.py
@@ -2,6 +2,7 @@
import tomli
import secrets
import subprocess
+import webbrowser
from pathlib import Path
@@ -29,6 +30,10 @@ def create_release_commit():
p.wait()
+ webbrowser.open(
+ f"https://github.com/taskipy/taskipy/compare/{branch}?quick_pull=1&title=Release%20Version%20{version}&body=%3E%20Please%20describe%20your%20release%20here"
+ )
+
if __name__ == "__main__":
create_release_commit()