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