fastlane-plugin-testbm 0.1.24 → 0.1.25
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
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
|
@@ -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}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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
|
@@ -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
|