nixenvironment 0.0.69 → 0.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/nixenvironment +6 -1
- data/lib/nixenvironment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23b91b030df9c768306cb2aca94062c3d660b51b
|
|
4
|
+
data.tar.gz: fbf507b463a92dbef8f4688b31009b144163b931
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 450a99d55ebccf32afc92c587d02f9c826ed95e116392280b15ea464a9a2343b742d6bfbceb69f58d5115ea33bc1bda10f2733d4b8001334c9d9fce09e149427
|
|
7
|
+
data.tar.gz: 1c709fce51785244d8a5d53e75588d1763eecc9b80e85819d0f52a1116fe5bc73ae4a942e7b2580bfafdedd09e764cbae00a581f89f02ac555080cca36bddddd
|
data/bin/nixenvironment
CHANGED
|
@@ -94,10 +94,12 @@ command :build do |c|
|
|
|
94
94
|
plist_path = File.join(UNITY_MACOS_BUILD_PATH, 'Contents/Info.plist')
|
|
95
95
|
|
|
96
96
|
info_plist = Plist.from_file(plist_path)
|
|
97
|
+
info_plist['RevisionNumber'] = revision
|
|
97
98
|
info_plist['CFBundleVersion'] = monotonic_revision
|
|
98
99
|
info_plist['CFBundleShortVersionString'] = options.app_version if options.app_version.present?
|
|
99
100
|
info_plist['CFBundleName'] = $resigned_bundle_name if $resigned_bundle_name.present?
|
|
100
101
|
info_plist['CFBundleDisplayName'] = $resigned_bundle_name if $resigned_bundle_name.present?
|
|
102
|
+
info_plist['CFBundleIdentifier'] = $bundle_id if $bundle_id
|
|
101
103
|
info_plist.save(plist_path, Plist::FORMAT_XML)
|
|
102
104
|
|
|
103
105
|
read_config_settings
|
|
@@ -385,6 +387,10 @@ def update_config_settings(key, value, table, need_separator)
|
|
|
385
387
|
table.add_separator if need_separator
|
|
386
388
|
end
|
|
387
389
|
|
|
390
|
+
def revision
|
|
391
|
+
%x[ source _last_revision.sh && echo ${REVISION} ].strip!
|
|
392
|
+
end
|
|
393
|
+
|
|
388
394
|
def monotonic_revision
|
|
389
395
|
%x[ source _last_revision.sh && echo ${MONOTONIC_REVISION} ].strip!
|
|
390
396
|
end
|
|
@@ -603,7 +609,6 @@ def backup_info_plist(product_settings_path, description)
|
|
|
603
609
|
end
|
|
604
610
|
|
|
605
611
|
def update_info_plists(config)
|
|
606
|
-
revision = %x[ source _last_revision.sh && echo ${REVISION} ].strip!
|
|
607
612
|
monoc_revision = monotonic_revision
|
|
608
613
|
bundle_id = @config_settings[BUNDLE_ID_KEY]
|
|
609
614
|
|