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
Can't release from branch that is tracking non-origin remote #608
Comments
You can do I forgot why the explicit |
I've created PR #609 with a suggested change. |
This is now in |
Thank you, I'll check as soon as I have some meaningful changes to release in my project. |
With
Need to add |
Thanks, it's in |
I have another issue. Getting this output:
Not how the release version is missing on last line. It works with latest 12:
|
Yes, the |
Sorry, my bad. |
I also need to think about some related fix for |
Ah indeed, forgot about that. Doesn't seem trivial. Maybe we can parse output like this:
|
Created #614 |
I have a
master
branch configured like so:When I try to release from that branch, it fails with:
So the code is explicitly trying to push (see here) to
origin
remote which is not the remote the branch is tracking. I know I can configure remote withgit.pushRepo
but doing that would be wrong as that would affect every developer on the project and there is no guarantee they have set up their git repo the same way.Since
release-it
already (by default) enforces that branch is tracking upstream branch, I don't see why it's explicitly passing upstream in this case. I think it would be enough to just invokegit push
alone.The text was updated successfully, but these errors were encountered: