-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
FR: Allow setting for branch name #14
Comments
Hi, thanks! It makes sense. I improve some other aspects, once it's done I'll release next minor version with this feature with two changes:
|
Remove hardcoded 'master' branch from `git push` calls. It allows flexibility of working with any default branch naming such as `main`. Remove branch name when pushing tag. A tag and a branch don't have a direct relationship. Pushing a tag does not have anything to do with any branch. The tag points to a commit. It does not care which branch the commit is reachable from. The commit may be on master and/or on another branch but it's none of the tag's business. Remove hardcored master when pushing changes. `git push` without a specified branch will push changes on the local branch to matching remote branch anyway. Add related tests and extend test logic to support the new tests.
I just realized that I was overthinking this with point 1. Just running |
Right now it expects the main branch to be named
master
, but ours ismain
, so the build fails. It would be nice to have that setting alongsiderepository
anduser
The text was updated successfully, but these errors were encountered: