Skip to content

Commit

Permalink
Disabled commit if not bump (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
M97Chahboun committed Oct 3, 2022
1 parent 17f6497 commit 3697ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ lane :bump_version do |options|
parts: options[:bump],
pubspec: "../pubspec.yaml"
)
if(options[:push])
if(options[:push] && (options[:bump] || options[:bump_build]))
sh "git config --global user.email [email protected]"
sh "git config --global user.name Mohammed chahboun"
sh "git config --global push.followTags true"
Expand Down

0 comments on commit 3697ed0

Please sign in to comment.