Commit 40bd6afd authored by Oskar Skog's avatar Oskar Skog

Got the version number to show up

parent da4bb1bd
......@@ -10,6 +10,7 @@ version_in = sys.argv[3]
# Apple wants the major number to be greater than zero.
try:
assert False # But it works without this conversion too.
if version_in.startswith('pre-') or version_in.startswith('test-'):
alpha = True
version_in = version_in.split('-')[1]
......@@ -33,6 +34,7 @@ f.write('''<?xml version="1.0" encoding="UTF-8"?>
<key>CFBundleIdentifier</key> <string>com.oskog97.anonymine</string>
<key>CFBundleDisplayName</key> <string>Anonymine - {0}</string>
<key>CFBundleVersion</key> <string>{1}</string>
<key>CFBundleShortVersionString</key> <string>{1}</string>
<!--
https://cocoadev.github.io/CFBundleSignature/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment