Fix make_release script

This commit is contained in:
usov_i 2024-07-12 10:52:01 +02:00
parent 89fb4f054f
commit eb2177215b

View File

@ -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"