Last active
September 23, 2020 19:20
-
-
Save mariia-cherniuk/7a31fd9f7c466c28823940512a568d58 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "Minor version bump" | |
lane :bump_version do | |
Actions.sh("git remote set-url origin [email protected]:your_app_git_url") | |
minor_version_bump(branch: ENV['DEVELOP_BRANCH']) | |
end | |
private_lane :minor_version_bump do |options| | |
reset_git_repo(force: true, skip_clean: true) | |
git_checkout(remote_branch: options[:branch]) | |
git_pull | |
increment_version_number(bump_type: "minor") | |
commit_version_bump(message: "Fastlane - Minor version Bump [skip ci]", xcodeproj: ENV['MAIN_PROJECT'], no_verify: true) | |
push_to_git_remote(tags: false, no_verify: true) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment