nixenvironment 0.0.158 → 0.0.159
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/nixenvironment/deployer.rb +2 -2
- data/lib/nixenvironment/scm.rb +2 -1
- data/lib/nixenvironment/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e87a1d632762f50f33af30e7ea546134762dddad47a0bb4522ddc9404f0f07
|
|
4
|
+
data.tar.gz: 4373fc907f25bb9220c3697fadc9fc555bfa9ea297e2316d4ade8c1345b791da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3c270ca73a5201131ba27d4c74c825d86a915bde410ae351df8f7da881eb2c7e6bdf4994ff4c29473a7716b111f3de8940fe2ee5a020893309f69ba8fbfba359
|
|
7
|
+
data.tar.gz: b6f46bbd414099e003bb52a47c803be15675646d04360b799ad34d31f3a48c38d44a07b2d19b553b6c9eb2598898c08759300d1fa7e29a0208e7e93281092a25
|
|
@@ -106,8 +106,8 @@ module Nixenvironment
|
|
|
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
|
-
|
|
110
|
-
|
|
109
|
+
usedf = ENV['USE_DATEFORMAT']
|
|
110
|
+
unless !usedf.nil?
|
|
111
111
|
relative_path = "v.#{current_app_version}_#{current_build_version}"
|
|
112
112
|
else
|
|
113
113
|
relative_path = "v.#{current_build_version}"
|
data/lib/nixenvironment/scm.rb
CHANGED
|
@@ -35,7 +35,8 @@ module Nixenvironment
|
|
|
35
35
|
when SCM_GIT
|
|
36
36
|
puts 'GIT working copy detected'
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
usedf = ENV['USE_DATEFORMAT']
|
|
39
|
+
unless !usedf.nil?
|
|
39
40
|
current_revision = %x[ git rev-parse HEAD ]
|
|
40
41
|
last_revision_in_repo = %x[ git rev-list --all -n 1 ]
|
|
41
42
|
# number of pushes before current
|
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.
|
|
4
|
+
version: 0.0.159
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karen
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-12-
|
|
12
|
+
date: 2019-12-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cocoapods
|
|
@@ -336,8 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
336
336
|
- !ruby/object:Gem::Version
|
|
337
337
|
version: '0'
|
|
338
338
|
requirements: []
|
|
339
|
-
|
|
340
|
-
rubygems_version: 2.7.4
|
|
339
|
+
rubygems_version: 3.0.6
|
|
341
340
|
signing_key:
|
|
342
341
|
specification_version: 4
|
|
343
342
|
summary: NIX projects build and deploy utility
|