You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The github pages deployer does not return to the current branch correctly. Instead, it always returns to master (which, by chance, may correspond to the current branch).
In the file lib/awestruct/deploy/github_pages_deploy.rb, the current branch is captured using:
current_branch = git.branch
However, the branch() method does a checkout on the specified branch, defaulting to master. The correct function for capturing the current branch is current_branch(). Thus, the line above should be:
The github pages deployer does not return to the current branch correctly. Instead, it always returns to master (which, by chance, may correspond to the current branch).
In the file lib/awestruct/deploy/github_pages_deploy.rb, the current branch is captured using:
However, the branch() method does a checkout on the specified branch, defaulting to master. The correct function for capturing the current branch is current_branch(). Thus, the line above should be:
See https://github.com/schacon/ruby-git/blob/master/lib/git/base.rb for details.
The text was updated successfully, but these errors were encountered: