We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc22d48 commit 156521bCopy full SHA for 156521b
tools/make_release.py
@@ -29,7 +29,7 @@
29
if not re.fullmatch(r"^([a-zA-Z0-9.]+)(?:-([a-zA-Z0-9.-]+))?(?:\+[a-zA-Z0-9.-]+)?$", VERSION):
30
print('Version is not valid')
31
sys.exit(1)
32
-
+
33
branch = subprocess.run(
34
['git', 'rev-parse', '--abbrev-ref', 'HEAD'], check=True, capture_output=True
35
).stdout.strip().decode()
0 commit comments