nixenvironment 0.0.155 → 0.0.156

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b887aef7b7d8be7c8b2abd53e86e3b944caf3bc524082b0e0c7de7ef7531c441
4
- data.tar.gz: 07bf1d90a24f619ddb79aef9c63e6ad10eb2bec19a246d590b7fa29daa113dac
3
+ metadata.gz: 9ad1d7906ed96fe0b293d09edc6bce6cfa9fcbb9daeea6ebfd3dbd2de12c6bb5
4
+ data.tar.gz: 661688cd4cc89b7798186c8da78a1aa7d259cd6cbd935970aafef3cd13abd00c
5
5
  SHA512:
6
- metadata.gz: ad861b76ce1d3344a5075e38d83c15bb9c4dab300d2c5744b7cd8801589e97d9b074577cce0019648e2f5c3a348b8e769d49dfef393fe5bf768a19e33e4ef546
7
- data.tar.gz: 35171781ce8f2e87eb58592b989bff987fe15278eac71619dd92dcdb6346bbd8386f711f026fd38d17dcf75710d77d6ceb325af6c51b1ee5e1a157708455c7f2
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
- relative_path = "v.#{current_app_version}_#{current_build_version}"
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)
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.155'
2
+ VERSION = '0.0.156'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.155
4
+ version: 0.0.156
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen