Skip to content

Commit

Permalink
Fix version file
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgriffith committed Aug 22, 2024
1 parent d03d71d commit 821d44d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/get_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ def write_and_exit(msg):


if __name__ == "__main__":
if sys.argv[1] == "exact":
write_and_exit(__version__)
elif sys.argv[1] == "nsis":
write_and_exit(f"{__version__}.0")
if len(sys.argv) > 1:
if sys.argv[1] == "exact":
write_and_exit(__version__)
elif sys.argv[1] == "nsis":
write_and_exit(f"{__version__}.0")

branch = os.getenv("GITHUB_REF").rsplit("/", 1)[1]

Expand Down

0 comments on commit 821d44d

Please sign in to comment.