gonative-cli 2.0.0 → 2.0.1
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/lib/gonative/plugins/ios/build_framework.rb +9 -0
- data/lib/gonative/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1b59414d5bf06c920d0487fd63e0d450abd19bafcc56729a7b37de393ad853d
|
|
4
|
+
data.tar.gz: b84779d9fc8bc938dc6a0fed226b7a92b8987ca5d4b353aa842389298f476f13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e5c03aa2191569d84f077852599fff88be4a5903d97e3abf911e22d322d7a6355e153cf3c90b424a9d5c08883fe96db21d7ab5bc682ebed5b196512c2dc8483
|
|
7
|
+
data.tar.gz: b9ffe744b3666c45f42249c6df921a88218a746bb0d092aa7f217f0d2d6ec79de5df38303fcd054e0a16ee5972f4e45d93830bee7c057112d1e0c30e308d5341
|
|
@@ -171,9 +171,18 @@ module GoNative
|
|
|
171
171
|
]
|
|
172
172
|
)
|
|
173
173
|
|
|
174
|
+
command << "MARKETING_VERSION=#{Shellwords.escape(marketing_version)}" if marketing_version
|
|
175
|
+
|
|
174
176
|
command.join(" ")
|
|
175
177
|
end
|
|
176
178
|
|
|
179
|
+
def marketing_version
|
|
180
|
+
@marketing_version ||= begin
|
|
181
|
+
version_file = File.join(project_root, 'VERSION')
|
|
182
|
+
File.read(version_file).strip if File.exist?(version_file)
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
177
186
|
def tuist_workspace_path
|
|
178
187
|
"#{plugin_name}.xcworkspace"
|
|
179
188
|
end
|
data/lib/gonative/version.rb
CHANGED