Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[match] Always checkout the specified branch as master may not be the default branch #16622

Merged

Conversation

mbogh
Copy link
Contributor

@mbogh mbogh commented Jun 17, 2020

… branch.

Checklist

  • I've run bundle exec rspec from the root directory to see all new and existing tests pass
  • I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary.

Motivation and Context

As described in #16475 master is not guaranteed to be the default branch and then match fails to work.

Description

I have changed the git_storage.rb such that the branch specified is always checked out.

Testing Steps

Copy link
Member

@joshdholtz joshdholtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! Can confirmed this work for me on a master and non-master branch. I appreciate the contribution ❤️

@joshdholtz joshdholtz merged commit 2ad0aaa into fastlane:master Jul 7, 2020
@fastlane-bot
Copy link

Hey @mbogh 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a week, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀

Copy link

@fastlane-bot fastlane-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations! 🎉 This was released as part of fastlane 2.151.0 🚀

@mbogh mbogh deleted the supported-non-master-as-default-branch-match branch July 7, 2020 22:33
minuscorp pushed a commit to minuscorp/fastlane that referenced this pull request Jul 18, 2020
… default branch (fastlane#16622)

* Always checkout the specified branch as master may not be the default branch.

* Remember to press enter to actually run rubocop
@fastlane fastlane locked and limited conversation to collaborators Sep 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants