Skip to content

Commit

Permalink
Fix push bump build (#111)
Browse files Browse the repository at this point in the history
* Fix push bump build

* Add git restore .

* enhance bump_version condition
  • Loading branch information
M97Chahboun authored Oct 22, 2022
1 parent fed54fb commit d2d8a74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version-based-on-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
ruby-version: "2.6"
bundler-cache: true
working-directory: android
- run: bundle exec fastlane bump_version push:true branch:${{ github.head_ref }} ${{env.parts}} bump_build:false
- run: bundle exec fastlane bump_version branch:${{ github.head_ref }} ${{env.parts}} bump_build:false
working-directory: android
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] && options[:bump])
if(options[:push] || options[:bump])
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
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 2.7.0+23
version: 2.7.0+24

environment:
sdk: ">=2.17.6 <3.0.0"
Expand Down

0 comments on commit d2d8a74

Please sign in to comment.