fastlane-plugin-souyuz 0.7.2 → 0.8.1
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5d89c117036d77b62fafdc3f6b9ea3039c5d1c251267878037270747d0c53f42
|
4
|
+
data.tar.gz: f91dca54b5d4c8f9bb51dea43c545b0e32151f8885e5e80a32a46c7314d767a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e59efe103ff419443b45a2f56109c3c53111f5de7eceb0e1e528cf79496fe71453724e6454461980064a0ed73ef63edba501fa0ab7fa7a64311acb9461cd7a80
|
7
|
+
data.tar.gz: 3b2e61b4275c954a94e700e7dda0219f4f2ac889447de0cb273da138ca82a4382db0a5abaec61fffef89738a8c130cb8e6e0dafb85f9eb8a7980d924e0f9c2bf
|
data/README.md
CHANGED
@@ -10,6 +10,33 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
|
|
10
10
|
fastlane add_plugin souyuz
|
11
11
|
```
|
12
12
|
|
13
|
+
## Example
|
14
|
+
|
15
|
+
Check out the following lanes or the [example `Fastfile`](fastlane/Fastfile) to see how to use souyuz.
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
platform :ios do
|
19
|
+
lane :example do
|
20
|
+
souyuz(
|
21
|
+
platform: "ios",
|
22
|
+
build_configuration: "Release",
|
23
|
+
plist_path: "./iOS/Info.plist"
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
platform :android do
|
28
|
+
lane :example do
|
29
|
+
souyuz(
|
30
|
+
platform: "android",
|
31
|
+
build_configuration: "Release",
|
32
|
+
keystore_path: "{PATH_TO_YOUR_KEYSTORE}",
|
33
|
+
keystore_alias: "{ALIAS_OF_YOUR_KEYSTORE}",
|
34
|
+
keystore_password: "{YOUR_SUPER_SECRET_KEYSTORE_PASSWORD}"
|
35
|
+
)
|
36
|
+
end
|
37
|
+
end
|
38
|
+
```
|
39
|
+
|
13
40
|
## About souyuz
|
14
41
|
|
15
42
|
A fastlane component to make Xamarin builds a breeze
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
1
|
module Fastlane
|
3
2
|
module Actions
|
4
3
|
class AppVersionAction < Action
|
@@ -42,9 +41,9 @@ module Fastlane
|
|
42
41
|
manifest_path ||= ::Souyuz.config[:manifest_path]
|
43
42
|
|
44
43
|
# parse the doc
|
45
|
-
|
46
|
-
doc = Nokogiri::XML(
|
47
|
-
|
44
|
+
f1 = File.open(manifest_path)
|
45
|
+
doc = Nokogiri::XML(f1)
|
46
|
+
f1.close
|
48
47
|
|
49
48
|
attrs = doc.xpath('//manifest')[0]
|
50
49
|
|
@@ -56,8 +55,8 @@ module Fastlane
|
|
56
55
|
attrs['android:versionCode'] = build if build
|
57
56
|
|
58
57
|
# save the doc
|
59
|
-
File.open(manifest_path, 'w') do |
|
60
|
-
|
58
|
+
File.open(manifest_path, 'w') do |f2|
|
59
|
+
f2.print(doc.to_xml)
|
61
60
|
end
|
62
61
|
end
|
63
62
|
|
@@ -83,8 +82,9 @@ module Fastlane
|
|
83
82
|
FastlaneCore::ConfigItem.new(key: :build,
|
84
83
|
env_name: "FL_APP_BUILD",
|
85
84
|
description: "App build number value",
|
86
|
-
optional: true)
|
87
|
-
]
|
85
|
+
optional: true)
|
86
|
+
]
|
87
|
+
)
|
88
88
|
end
|
89
89
|
|
90
90
|
def self.is_supported?(platform)
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
1
|
module Fastlane
|
3
2
|
module Actions
|
4
3
|
module SharedValues
|
@@ -29,8 +28,8 @@ module Fastlane
|
|
29
28
|
absolute_ipa_path
|
30
29
|
elsif ::Souyuz.project.android?
|
31
30
|
# check if keystore vars are set but password is missing
|
32
|
-
if
|
33
|
-
|
31
|
+
if values[:keystore_path] && values[:keystore_alias]
|
32
|
+
unless values[:keystore_password]
|
34
33
|
::Souyuz.config[:keystore_password] = ask("Password (for #{values[:keystore_alias]}): ") { |q| q.echo = "*" }
|
35
34
|
end
|
36
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-souyuz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Rudat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: souyuz
|
@@ -16,16 +16,16 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.8.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.8.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,21 +39,21 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: fastlane
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.103.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.103.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: pry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,19 +67,19 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: '0'
|
83
83
|
description:
|
84
84
|
email: voydz@hotmail.com
|
85
85
|
executables: []
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.7.3
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: A fastlane component to make Xamarin builds a breeze
|