From 3697ed0677c30630027561f0be3479790bc8cf76 Mon Sep 17 00:00:00 2001 From: Mohammed CHAHBOUN <69054810+M97Chahboun@users.noreply.github.com> Date: Mon, 3 Oct 2022 15:53:43 +0100 Subject: [PATCH] Disabled commit if not bump (#41) --- android/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile index ba066ba..945ecac 100644 --- a/android/fastlane/Fastfile +++ b/android/fastlane/Fastfile @@ -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 m97.chahboun@gmail.com" sh "git config --global user.name Mohammed chahboun" sh "git config --global push.followTags true"