nixenvironment 0.0.155 → 0.0.156
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ad1d7906ed96fe0b293d09edc6bce6cfa9fcbb9daeea6ebfd3dbd2de12c6bb5
|
4
|
+
data.tar.gz: 661688cd4cc89b7798186c8da78a1aa7d259cd6cbd935970aafef3cd13abd00c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa899a703ba18d506c7e8d320cc022a509f4244b3a0332545c9a02ab50db60b2a599565b0098cc2d288a1b30dd868ae85b4c5cc626562954fc99ef9102f4fc62
|
7
|
+
data.tar.gz: bd17bc802d68424bfcf1a3c38f8630e34296d67e2b10a65346780a9c11ee12c4809adaddf13717cb060d8e525e17b81cfefd80685777f4cec555ca1eea83e738
|
@@ -78,13 +78,6 @@ WORKING_COPY_IS_CLEAN='#{working_copy_is_clean}'\" > #{AUTOGENERATED_LAST_REVISI
|
|
78
78
|
build_env_vars[CURRENT_APP_VERSION_KEY] = current_app_version
|
79
79
|
build_env_vars[CURRENT_BUILD_VERSION_KEY] = monotonic_revision
|
80
80
|
|
81
|
-
|
82
|
-
# TODO: not correct compare in this part of code, but current_app_version we getting only here
|
83
|
-
date_format = ENV['USE_DATEFORMAT']
|
84
|
-
unless date_format == nil
|
85
|
-
build_env_vars[CURRENT_APP_VERSION_KEY] = ""
|
86
|
-
end
|
87
|
-
|
88
81
|
puts
|
89
82
|
puts "#{EMBEDDED_PROFILE_NAME_KEY} = #{embedded_profile_name}" # TODO: find out why it's blank!!!
|
90
83
|
puts "#{CURRENT_APP_VERSION_KEY} = #{current_app_version}"
|
@@ -105,7 +105,13 @@ module Nixenvironment
|
|
105
105
|
ipa_bundle_id, ipa_product, current_app_version, current_build_version, name_for_deployment, executable_name, app_dsym, sdk)
|
106
106
|
is_iphone_build = sdk.include?('iphone')
|
107
107
|
|
108
|
-
|
108
|
+
# TODO: not correct compare in this part of code, but current_app_version we getting only here
|
109
|
+
date_format = ENV['USE_DATEFORMAT']
|
110
|
+
if date_format == nil
|
111
|
+
relative_path = "v.#{current_app_version}_#{current_build_version}"
|
112
|
+
else
|
113
|
+
relative_path = "v.#{current_build_version}"
|
114
|
+
end
|
109
115
|
local_path_to_app = File.join(Dir.tmpdir, ipa_bundle_id)
|
110
116
|
local_path_to_build = File.join(local_path_to_app, relative_path)
|
111
117
|
configuration_full_path = File.join(local_path_to_build, name_for_deployment)
|