aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-11-04 03:51:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-11-04 03:51:50 +0100
commit6c40479863c5811c1d958add221c859e72157bbc (patch)
treed90609c80762c33bed22828666b0f24c515cc2e0 /WireGuard/WireGuard
parentSettings: anchor logo to bottom (diff)
downloadwireguard-apple-6c40479863c5811c1d958add221c859e72157bbc.tar.xz
wireguard-apple-6c40479863c5811c1d958add221c859e72157bbc.zip
XCode: unify version strings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'WireGuard/WireGuard')
-rw-r--r--WireGuard/WireGuard/Config/Config.xcconfig2
-rw-r--r--WireGuard/WireGuard/Config/Version.xcconfig2
-rw-r--r--WireGuard/WireGuard/Info.plist4
3 files changed, 6 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/Config/Config.xcconfig b/WireGuard/WireGuard/Config/Config.xcconfig
new file mode 100644
index 0000000..002b7ad
--- /dev/null
+++ b/WireGuard/WireGuard/Config/Config.xcconfig
@@ -0,0 +1,2 @@
+#include "Version.xcconfig"
+#include "Developer.xcconfig"
diff --git a/WireGuard/WireGuard/Config/Version.xcconfig b/WireGuard/WireGuard/Config/Version.xcconfig
new file mode 100644
index 0000000..3e53688
--- /dev/null
+++ b/WireGuard/WireGuard/Config/Version.xcconfig
@@ -0,0 +1,2 @@
+VERSION_NAME = 0.0.20181103
+VERSION_ID = 1
diff --git a/WireGuard/WireGuard/Info.plist b/WireGuard/WireGuard/Info.plist
index db48f6d..d74b477 100644
--- a/WireGuard/WireGuard/Info.plist
+++ b/WireGuard/WireGuard/Info.plist
@@ -53,9 +53,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.0.20181103</string>
+ <string>$(VERSION_NAME)</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>$(VERSION_ID)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>