gonative-cli 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gonative/commands/android/publish.rb +4 -2
- 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: e0e069a9d419de934125aa9a4fe89224c83d0a85d8402542781e0e6f675d980c
|
4
|
+
data.tar.gz: 8600827abe689021828dc9edc6575c5a9f47722c9291bbd39bb0c4f8d55c3632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97a108fbe118000f4d50860932235053c9b0a596af18d1e10c345cd4ebf92133a18d235ed277fe3105474a806e7a8a1bec17221b06d9d833e30774d3dc39a0f
|
7
|
+
data.tar.gz: cd2484f3b45cb2e13c859842e7269c0fe282fbf585411202bbf38161d153a02eb52921cb54bd47d0561edb7ffb0950c4cf94e61279ecf19ba354db93ed71fa2f
|
data/Gemfile.lock
CHANGED
@@ -24,14 +24,16 @@ module GoNative
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def version
|
27
|
-
@version if @version
|
27
|
+
return @version if @version
|
28
28
|
|
29
29
|
gradle_files.each do |gradle_file|
|
30
30
|
str = IO.read(gradle_file)
|
31
|
-
@version = str.match(/versionName\s
|
31
|
+
@version = str.match(/versionName\s+\"(?<version>.+)\"/)[:version]
|
32
32
|
|
33
33
|
break if @version
|
34
34
|
end
|
35
|
+
|
36
|
+
@version
|
35
37
|
end
|
36
38
|
|
37
39
|
def create_and_push_tag!
|
data/lib/gonative/version.rb
CHANGED