Skip to content

Commit

Permalink
fix: metadata script
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Jun 24, 2023
1 parent 9640097 commit e0c9e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _DO_NOT_INCLUDE/extract-metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
if metadata['title'] != _mac_title.group(1):
print('::error file=makelove.toml::macOS bundle display name does not match game title in main.lua')

if len(sys.argv > 1):
if len(sys.argv) > 1:
if (version := re.sub(r'^refs/tags/v?', '', sys.argv[1], count=1)) != sys.argv[1]:
metadata['version'] = version

Expand Down

0 comments on commit e0c9e39

Please sign in to comment.