Fix make_release script
This commit is contained in:
parent
89fb4f054f
commit
eb2177215b
@ -8,8 +8,8 @@ import subprocess
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
branch = subprocess.check_output("git rev-parse --abbrev-ref HEAD", shell=True).decode().strip()
|
branch = subprocess.check_output("git rev-parse --abbrev-ref HEAD", shell=True).decode().strip()
|
||||||
if branch != "master":
|
if branch != "main":
|
||||||
print("Aborting, not on 'master' branch.")
|
print("Aborting, not on 'main' branch.")
|
||||||
return
|
return
|
||||||
|
|
||||||
filepath = "pyzebra/__init__.py"
|
filepath = "pyzebra/__init__.py"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user