fastlane-plugin-sunny_project 0.1.15 → 0.1.16

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: 6aea270fd928ab346d0584a3e4f38da827b8b3419a708c22ccec6998afcfe367
4
- data.tar.gz: 30898a2a549a849d9d2c9b9cb62dbb6be17da9a9c6324c09ff70780bb38a18d1
3
+ metadata.gz: 0f9d8a4ec62de4f80f569d04503f9b22f64d942f3115c57057c2ff0a0f6e6ada
4
+ data.tar.gz: 2877a57f2f83a09512474027fbf1241cf21db2756e7eeb76d22c912ac4e73a46
5
5
  SHA512:
6
- metadata.gz: e917e23d4bff8cc4cf7faf4512a1230bd86664a55334e10976e9f14469b291d50ea5432098c5e7ed7135f8814a2a100b65205ed13b11d4c923757f9e4450023a
7
- data.tar.gz: 46dcab55ca6f875ef076ccf3c7d757633a63f5a1f528a991379b55fb1a20039c31af4a91b19748a66b893eee71097c761464a87c7410f1af8b5b1403d62415cd
6
+ metadata.gz: 4e670cac6484e54b112043b6710452698d48e4113c21f7c8aaebea653590a3c3115f0e3c6df9e93f6591f37817ac4b321c93458fb5cabb46128c0bcd82965e25
7
+ data.tar.gz: 45b0e3822537868b51c0a8d5356ec6d528724b0da0ea8cd3041a087ad146396d73351e2bd71947f2db64713f393912fcf1d8e9abda0d7f04ffe310eaaf699fa3
@@ -8,15 +8,15 @@ module Fastlane
8
8
  version = Sunny.current_semver
9
9
  # If we got this far, let's commit the build number and update the git tags. If the rest of the pro
10
10
  # process fails, we should revert this because it will mess up our commit logs
11
- Fastlane::Actions::GitCommitAction.run(path: %w[./pubspec.yaml ./pubspec.lock ./CHANGELOG.md],
12
- allow_nothing_to_commit: true,
13
- message: "Version bump to: #{version.major}.#{version.minor}.#{version.patch}#800#{version.build}")
14
- Fastlane::Actions::AddGitTagAction.run(
15
- tag: "sunny/builds/v#{version.build}",
16
- force: true,
17
- sign: false,
11
+ Sunny.run_action(GitCommitAction, path: %w[./pubspec.yaml ./pubspec.lock ./CHANGELOG.md],
12
+ allow_nothing_to_commit: true,
13
+ message: "Version bump to: #{version.major}.#{version.minor}.#{version.patch}#800#{version.build}")
14
+ Sunny.run_action(AddGitTagAction,
15
+ tag: "sunny/builds/v#{version.build}",
16
+ force: true,
17
+ sign: false,
18
18
  )
19
- Fastlane::Actions::PushGitTagsAction.run(log: true)
19
+ Sunny.run_action(PushGitTagsAction, log: true)
20
20
  if File.exist?(Sunny.release_notes_file)
21
21
  File.delete(Sunny.release_notes_file)
22
22
  end
@@ -41,13 +41,12 @@ module Fastlane
41
41
 
42
42
  def self.available_options
43
43
  [
44
- FastlaneCore::ConfigItem.new(key: :tag_group,
45
- env_name: "SUNNY_PROJECT_TAG_GROUP",
46
- description: "The name of the tag group",
47
- optional: false,
48
- type: String,
49
- default_value: "sunny/builds"),
50
-
44
+ FastlaneCore::ConfigItem.new(key: :tag_group,
45
+ env_name: "SUNNY_PROJECT_TAG_GROUP",
46
+ description: "The name of the tag group",
47
+ optional: false,
48
+ type: String,
49
+ default_value: "sunny/builds"),
51
50
 
52
51
  ]
53
52
  end
@@ -31,13 +31,13 @@ module Fastlane
31
31
  UI.error "Invalid option: #{value} Must be 'build' or 'patch'" unless value == "build" or value == "patch"
32
32
  end
33
33
  [
34
- FastlaneCore::ConfigItem.new(key: :type,
35
- env_name: "SUNNY_PROJECT_TYPE",
36
- description: "Whether to make a patch or build version change",
37
- optional: true,
38
- verify_block: verify_type,
39
- default_value: 'build',
40
- type: String)
34
+ FastlaneCore::ConfigItem.new(key: :type,
35
+ env_name: "SUNNY_PROJECT_TYPE",
36
+ description: "Whether to make a patch or build version change",
37
+ optional: true,
38
+ verify_block: verify_type,
39
+ default_value: 'build',
40
+ type: String)
41
41
  ]
42
42
  end
43
43
 
@@ -128,8 +128,10 @@ module Fastlane
128
128
  UI.header "Commit pubspec.yaml, Info.plist for version updates"
129
129
  # If we got this far, let's commit the build number and update the git tags. If the rest of the pro
130
130
  # process fails, we should revert this because it will mess up our commit logs
131
- Sunny.run_action(GitCommitAction, path: %w[./pubspec.yaml ./pubspec.lock ./Gemfile.lock ./ios/Runner/Info.plist],
132
- message: "Version bump to: #{version.major}.#{version.minor}.#{version.patch}#800#{version.build}")
131
+ Sunny.run_action(GitCommitAction,
132
+ allow_nothing_to_commit: true,
133
+ path: %w[./pubspec.yaml ./pubspec.lock ./Gemfile.lock ./ios/Runner/Info.plist],
134
+ message: "\"Version bump to: #{version.major}.#{version.minor}.#{version.patch}#800#{version.build}\"")
133
135
  UI.header "Tagging repo v#{version.build}"
134
136
  Sunny.run_action(AddGitTagAction,
135
137
  grouping: "sunny-builds",
@@ -30,7 +30,7 @@ module Fastlane
30
30
  end
31
31
 
32
32
  def self.do_increase_version(options)
33
- command = "pubver #{options[:type]} "
33
+ command = "pubver bump #{options[:type]} "
34
34
  if options[:type] == 'patch'
35
35
  command += "-b"
36
36
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SunnyProject
3
- VERSION = "0.1.15"
3
+ VERSION = "0.1.16"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-sunny_project
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - ericmartineau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2020-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry