fastlane-plugin-testbm 0.1.20 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/testbm/actions/bmbuild_action.rb +44 -0
- data/lib/fastlane/plugin/testbm/actions/bmdistribution_action.rb +2 -2
- data/lib/fastlane/plugin/testbm/actions/bmversion_action.rb +2 -2
- data/lib/fastlane/plugin/testbm/helper/bm_helper.rb +2 -2
- data/lib/fastlane/plugin/testbm/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d34215f135f5b9cd51c67a76cda2db3d1486398c7869c7419af4d571b8723793
|
4
|
+
data.tar.gz: 3605da3fa96acd8a6deee83257fcd232e066cd955c5b663a88ba167c67c78a1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbafb223d647034159631314564813027ae04cd1f4c26500e5d73ffe7a491604ad9a45b0a5a9e76b391d04726a444a00c52f5b0f76f2ed175ea8a6bae1ca3694
|
7
|
+
data.tar.gz: e9e51021dfeb3b1202dc1a7d6033dcf55eada7fc7db198c893f69befb06646f8fa8186f116787826e0b6d4ecfa10e5a3f68d08a2b9ebe5c9570056ad6e0a208f
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Actions
|
5
|
+
class BmbuildAction < Action
|
6
|
+
def self.run(params)
|
7
|
+
app_information = params[:app_information]
|
8
|
+
other_action.gradle(task:"assemble", build_type: app_information[:android][:build_type])
|
9
|
+
UI.message("Version built!")
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.description
|
13
|
+
"TODO"
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.authors
|
17
|
+
["Bemobile"]
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.return_value
|
21
|
+
"TODO # If your method provides a return value, you can describe here what it does"
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.details
|
25
|
+
"TODO"
|
26
|
+
end
|
27
|
+
|
28
|
+
def self.available_options
|
29
|
+
[
|
30
|
+
FastlaneCore::ConfigItem.new(key: :app_information,
|
31
|
+
env_name: "APP_INFORMATION",
|
32
|
+
description: "The app information",
|
33
|
+
optional: false,
|
34
|
+
type: Hash)
|
35
|
+
]
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.is_supported?(platform)
|
39
|
+
true
|
40
|
+
end
|
41
|
+
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -30,9 +30,9 @@ module Fastlane
|
|
30
30
|
[
|
31
31
|
FastlaneCore::ConfigItem.new(key: :app_information,
|
32
32
|
env_name: "APP_INFORMATION",
|
33
|
-
description: "The app information including name, version
|
33
|
+
description: "The app information including name, version",
|
34
34
|
optional: false,
|
35
|
-
type:
|
35
|
+
type: Hash),
|
36
36
|
FastlaneCore::ConfigItem.new(key: :platform_type,
|
37
37
|
env_name: "PLATFORM_TYPE",
|
38
38
|
description: "Indicates platform wheter android or ios",
|
@@ -46,8 +46,8 @@ module Fastlane
|
|
46
46
|
version_number = Actions.lane_context[Actions::SharedValues::VERSION_NUMBER]
|
47
47
|
build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
|
48
48
|
elsif
|
49
|
-
version_number = File.read("
|
50
|
-
build_number = File.read("
|
49
|
+
version_number = File.read("version.name").to_s
|
50
|
+
build_number = File.read("version.number").to_s
|
51
51
|
end
|
52
52
|
|
53
53
|
{build_number: build_number, version_number: version_number}
|
@@ -32,8 +32,8 @@ module Fastlane
|
|
32
32
|
version_number = Actions.lane_context[Actions::SharedValues::VERSION_NUMBER]
|
33
33
|
build_number = Actions.lane_context[Actions::SharedValues::BUILD_NUMBER]
|
34
34
|
elsif
|
35
|
-
version_number = File.read("
|
36
|
-
build_number = File.read("
|
35
|
+
version_number = File.read("version.name").to_s
|
36
|
+
build_number = File.read("version.number").to_s
|
37
37
|
end
|
38
38
|
|
39
39
|
{build_number: build_number, version_number: version_number}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-testbm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bemobile
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -145,6 +145,7 @@ files:
|
|
145
145
|
- LICENSE
|
146
146
|
- README.md
|
147
147
|
- lib/fastlane/plugin/testbm.rb
|
148
|
+
- lib/fastlane/plugin/testbm/actions/bmbuild_action.rb
|
148
149
|
- lib/fastlane/plugin/testbm/actions/bmdistribution_action.rb
|
149
150
|
- lib/fastlane/plugin/testbm/actions/bminfo_action.rb
|
150
151
|
- lib/fastlane/plugin/testbm/actions/bmslack_action.rb
|