fastlane-plugin-flutter_bump_version 0.1.0 → 0.1.1

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: 0b63260d2d10beb5f5b682ad4b1724758250200bcc1e4b3a22ca82ad4869922b
4
- data.tar.gz: f4e7fe350c26b929470aea33e16fb359ca7dcd6844ccd79cb64c40c05d1baa93
3
+ metadata.gz: 0bf3cf833cf1e5e66f50e77250ea50754cfe8fdecf79a895a8924ba43b07fa94
4
+ data.tar.gz: c898726e88fea4fd19a033ac3812b9da2baa9527c0e9363aabdbef22cb4d0a0d
5
5
  SHA512:
6
- metadata.gz: 963ec1b1eb51094c345f78b095b332377c49e2b87b2aa77329cdaffe23def06f949dbb12ad19b5a56689cd20b5f90f678e068a4c6f5a08405e9bbee860d40699
7
- data.tar.gz: 6cb389130b0b1b678553117a4beb5bc324fae5ec9731985dbd1435b308750509cf163f3596905afb63b0fc16dd8edfa9cba76afe12394277903047229c069633
6
+ metadata.gz: 31d1462fd4e1122db5136b83f65eae49998b95e9c183e1a669209dd954d9ddf10202a6c53c882499fa359a9754dc2d0904eb1c689d5d11ee87adb5244da7df1d
7
+ data.tar.gz: 65e44e438f0f115c7e44a9771ccea8c7a01c7276d168923082ed285aa5cdc439fe6dcdc08cf7a8c739d55b119ce3d937e211c4fe0714ec59a61d44ab3f68fc77
data/README.md CHANGED
@@ -16,9 +16,10 @@ Manages Flutter project version
16
16
 
17
17
  ## Example
18
18
 
19
- Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane bump_version bump:patch`.
19
+ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane bump_version bump:patch push:false`.
20
20
 
21
- You can bump any part of version you want by use instead of patch (major,minor,patch or build)
21
+ You can `bump` any part of version you want by use instead of `patch` (`major`,`minor`,`patch` or `build`)
22
+ And the `push` if `true` plugin will push bump version to git remote if `false` will not push it
22
23
 
23
24
  ## Issues and Feedback
24
25
 
@@ -94,6 +94,7 @@ module Fastlane
94
94
  new_version = "#{@current_version_in_hash['major']}.#{@current_version_in_hash['minor']}.#{@current_version_in_hash['patch']}"
95
95
  new_version = @is_build ? new_version + "+#{@current_version_in_hash['build']}" : new_version
96
96
  update_pubspec(new_version, current_version)
97
+ return new_version
97
98
  end
98
99
 
99
100
  def update_pubspec(new_version, current_version)
@@ -118,7 +119,7 @@ module Fastlane
118
119
  when :bump
119
120
  available_version_options = ['major', 'minor', 'patch', 'build']
120
121
  if available_version_options.include?(arguments[:bump])
121
- bump_version.bump_version(arguments[:bump])
122
+ return bump_version.bump_version(arguments[:bump])
122
123
  else
123
124
  UI.message("You pass with bump wrong option, Available options : #{available_version_options}")
124
125
  end
@@ -127,6 +128,7 @@ module Fastlane
127
128
  else
128
129
  UI.message("Something wrong, Try: bundle exec fastlane bump_version bump:major,minor,patch or build")
129
130
  end
131
+ return "not_bump"
130
132
  end
131
133
 
132
134
  def self.description
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FlutterBumpVersion
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-flutter_bump_version
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohammed chahboun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-22 00:00:00.000000000 Z
11
+ date: 2022-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler