fastlane-plugin-git_commit_lzx 0.1.1 → 0.1.3

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: 62c6df258ec8ab09c5ceac0e0a0b6a3a40d7cb116704ad803bd2e459e47b8966
4
- data.tar.gz: 10b99dad24795d24e7a08ec77f34e378489475d24b825c160552e5fd4a806408
3
+ metadata.gz: 51122f50128ae039d946c585c76c2f4737677876d8381474a751b84153d95dab
4
+ data.tar.gz: 5fb780e5feb94c8a33f6654310cd262a98ef6f85555b663f4ce0e434d78b9e60
5
5
  SHA512:
6
- metadata.gz: 968734f14f92c135711cd36dc09c0f7eb4cb89fbdc32f1acc5a9314996784f3f482c833ade6aba4420f9a5f4194c95d84ffae2400594983b768e7db6dcfcdee7
7
- data.tar.gz: d6da3f35553ad205aa12518b21eeacaa9debed7994ab62dd704d8f551f0c4fae3687b415b6e4451ba99a0411ec3c2a4df31e1ca9968b30750702b62eeb85ee74
6
+ metadata.gz: cf901f79b425ae9e4e134f915ecacd299cb730852319346ab55b744775f6c13e4614e30f99d86266b809700e49eb4b96c18eb2b4eb7c872845bc587712fc929c
7
+ data.tar.gz: 5b80af248df45ced42e615ba634d5ee2069203d27156ca23cbeec3f0d7d5c487a91425e8f7239ed56f7307d8684f1bf8061e18c46e711c9f686bc7abd0f9c4c6
@@ -11,11 +11,11 @@ module Fastlane
11
11
  paths = params[:path].map(&:shellescape).join(' ')
12
12
  end
13
13
  UI.message("The git_commit_lzx plugin is working!")
14
- if params[:all] == true {
14
+ if params[:all] == true
15
15
  result = Actions.sh("git commit -a -m #{params[:message].shellescape}")
16
- }else{
16
+ else
17
17
  result = Actions.sh("git commit -m #{params[:message].shellescape} #{paths}")
18
- }
18
+ end
19
19
  UI.success("Successfully committed \"💾.")
20
20
  return result
21
21
  end
@@ -39,7 +39,7 @@ module Fastlane
39
39
 
40
40
  def self.available_options
41
41
  [
42
- FastlaneCore::ConfigItem.new(key: :all,description: "all")
42
+ FastlaneCore::ConfigItem.new(key: :all,description: "all"),
43
43
  FastlaneCore::ConfigItem.new(key: :path,
44
44
  description: "The file you want to commit",
45
45
  is_string: true),
@@ -50,22 +50,18 @@ module Fastlane
50
50
 
51
51
  def self.example_code
52
52
  [
53
- 'git_commit(all:true , path: "*" , message: "Version Bump"',
53
+ 'git_commit(all:true , path: ["*"], message: "Version Bump")',
54
54
  'git_commit(path: "./version.txt", message: "Version Bump")',
55
55
  'git_commit(path: ["./version.txt", "./changelog.txt"], message: "Version Bump")',
56
56
  'git_commit(path: ["./*.txt", "./*.md"], message: "Update documentation")'
57
57
  ]
58
58
  end
59
59
 
60
- def self.category
61
- :source_control
62
- end
63
-
64
60
  def self.is_supported?(platform)
65
61
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
66
62
  # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
67
63
  #
68
- # [:ios, :mac, :android].include?(platform)
64
+ [:ios, :mac, :android].include?(platform)
69
65
  true
70
66
  end
71
67
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module GitCommitLzx
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-git_commit_lzx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhenxingliu