fastlane-plugin-flutter 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
  SHA1:
3
- metadata.gz: 97fb41cd7a4d73a263ebf3ab19a8e48ef0a28762
4
- data.tar.gz: 800076077feb8059207eac654d860017e2c6ca56
3
+ metadata.gz: 242d1757ff287f1f08427ecc5414a6f2ffec1d89
4
+ data.tar.gz: 626f6a78ee15291a0bd45113aa212eedfaaca6d7
5
5
  SHA512:
6
- metadata.gz: 1dc49fe811a6ae6ae12d75a4bdd70bc0dc40a3fd2e86ca65540577d660632602305f82575ba16e6a653c230ac58e739fc672e5cbbe2e625bfebf76b2c9b9a724
7
- data.tar.gz: 7653602739e55b97dd6af3f6eb883c52898e6571a686ab2cea7f2ad173d4b505ef00dfe985222ee53ffcf32ce74ff3d720cc4a066a4dd83e6b3c3a6a00d109d2
6
+ metadata.gz: e894a556b6a010514d3061915c9ede118a28598764d5c9291261faf60e4fc746dc1631d372976ab7f8ca231da04703c6f0c30908fe9bec1d5853cb6440af3a12
7
+ data.tar.gz: c8dd712748c078b8ec48ebf818cc01460d88884f476fa7e48178fb813058df16061373f25f7fbe2eb719c7ed7320221bc81d89141c78be419f6360bca8e8a140
@@ -44,7 +44,13 @@ module Fastlane
44
44
  build_number
45
45
  additional_args.push('--build-number', build_number.to_s)
46
46
 
47
- build_name = sh(*%w(git describe --tags --dirty=*)).strip
47
+ build_name = sh(
48
+ *%W(
49
+ git describe
50
+ --tags
51
+ --dirty=#{params[:git_version_dirty_mark]}
52
+ )
53
+ ).strip
48
54
  lane_context[SharedValues::FLUTTER_OUTPUT_GIT_BUILD_NAME] =
49
55
  build_name
50
56
  additional_args.push('--build-name', build_name)
@@ -205,6 +211,13 @@ module Fastlane
205
211
  is_string: false,
206
212
  default_value: false,
207
213
  ),
214
+ FastlaneCore::ConfigItem.new(
215
+ key: :git_version_dirty_mark,
216
+ env_name: 'FL_FLUTTER_GIT_VERSION_DIRTY_MARK',
217
+ description: 'Append mark if the working tree is "dirty"',
218
+ optional: true,
219
+ default_value: '*',
220
+ ),
208
221
  # l10n settings
209
222
  FastlaneCore::ConfigItem.new(
210
223
  key: :l10n_strings_file,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Flutter
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-flutter
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
  - Artem Sheremet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-06 00:00:00.000000000 Z
11
+ date: 2018-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry