souyuz 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/souyuz/runner.rb +9 -2
- data/lib/souyuz/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: 55d0affa2aee2277a4edfab7ba42767e11d89c2f02a39b08eceb43da21265411
|
4
|
+
data.tar.gz: 215e0841a5916bd10e5927a73d5ac2e03b08903447b5a7455cb83b257a469ba3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dade6c79e7f3193a4a0d9cef59a3e9e47cbde037c28e05695e4164d8fa1149853aa94a1a200b96df76efc2219221b4bc254eadf4f37f7cc3f72eafdd4eac1cf
|
7
|
+
data.tar.gz: 5c1923273ef5179aec3b4a4f50a441ead1ed7715e6e5e934a04cd18e0b74aeb233da1cc2060704c9962ad3f3cd568ff4914624c93a0883b4dcb25ebc943f39d9
|
data/lib/souyuz/runner.rb
CHANGED
@@ -37,9 +37,10 @@ module Souyuz
|
|
37
37
|
build_path = Souyuz.project.options[:output_path]
|
38
38
|
assembly_name = Souyuz.project.options[:assembly_name]
|
39
39
|
|
40
|
-
|
40
|
+
build_apk_path = "#{build_path}/#{assembly_name}.apk"
|
41
|
+
Souyuz.cache[:build_apk_path] = build_apk_path
|
41
42
|
|
42
|
-
|
43
|
+
build_apk_path
|
43
44
|
end
|
44
45
|
|
45
46
|
def apksign_and_zipalign
|
@@ -55,6 +56,12 @@ module Souyuz
|
|
55
56
|
print_all: false,
|
56
57
|
print_command: !Souyuz.config[:silent])
|
57
58
|
|
59
|
+
# move signed apk back to build apk path
|
60
|
+
FileUtils.cp_r(
|
61
|
+
Souyuz.cache[:signed_apk_path],
|
62
|
+
Souyuz.cache[:build_apk_path],
|
63
|
+
:remove_destination => true)
|
64
|
+
|
58
65
|
UI.success "Successfully signed apk #{Souyuz.cache[:build_apk_path]}"
|
59
66
|
end
|
60
67
|
|
data/lib/souyuz/version.rb
CHANGED