nixenvironment 0.0.33 → 0.0.34

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
  SHA1:
3
- metadata.gz: 6193624150fe83c1388287f146c3a015b98c92fe
4
- data.tar.gz: 72174b9a2048ed16d618a859933f8ad299e5c7f7
3
+ metadata.gz: 173a2932b8b3e3fcae157d9d4a8c3c7069cd86df
4
+ data.tar.gz: 8cffe692cba5864298bb6b1efe51d96d104a2c1d
5
5
  SHA512:
6
- metadata.gz: 1fc6affce26cda2789727334ebf18468ccf716d3fd1039bb098e2c29b01725e6fe5bbd56c07a9aaaec07b077253aac84042394b69cb6f118f275ed55327ca066
7
- data.tar.gz: 780f239c32f3c5dee6afa7e4c0d42ef1dd6f898291d515572479fd6790c247f63d1f6df3c786c1448862fe4b97aa4f90f5e632b2a543abda83cae96a78871363
6
+ metadata.gz: 8b671c401f9064d6a0c22a34409ea4ecbbd4d3ae6c314bfd397ab35d927d470833de2e88db8c6d3c6f245c605d24d30c4a627b7154136fe27aad01a181526552
7
+ data.tar.gz: 69e313172837915b0f34b6e2d4094de05fa2b975fc26053ad2446a9997b090d3c2b6656ae460835b1545673886710077f459196fab3f7a9db902e5cdfea5dbe1
data/bin/nixenvironment CHANGED
@@ -97,19 +97,22 @@ command :deploy do |c|
97
97
  c.description = 'Deploy built artifacts to given server'
98
98
  c.option '--unity TARGET PLATFORM', String, 'Select target platform for unity deploy (ios or android)'
99
99
  c.action do |args, options|
100
+ need_to_deploy_ios = true
101
+
100
102
  if options.unity and options.unity.length > 0
101
103
  need_to_deploy_ios, root_working_dir, need_chdir_to_root_working_dir = unity_deploy(options.unity)
102
- return unless need_to_deploy_ios
103
104
  end
104
105
 
105
- begin
106
- read_config_settings
107
- deploy
108
- rescue
109
- raise # re-rise exception but chdir to root_working_dir in ensure block first if needed
110
- ensure
111
- if need_chdir_to_root_working_dir and root_working_dir
112
- Dir.chdir(root_working_dir)
106
+ if need_to_deploy_ios
107
+ begin
108
+ read_config_settings
109
+ deploy
110
+ rescue
111
+ raise # re-rise exception but chdir to root_working_dir in ensure block first if needed
112
+ ensure
113
+ if need_chdir_to_root_working_dir and root_working_dir
114
+ Dir.chdir(root_working_dir)
115
+ end
113
116
  end
114
117
  end
115
118
  end
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.33'
2
+ VERSION = '0.0.34'
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.33
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Arzumanian