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
GitHub Release goes to origin vs. upstream remote #632
Comments
The You can use But definitely this should be documented, then. |
I think that github release should be (by default) made to the same repo where (git) release is pushed. So if git release is made based on upstream branch, so should github release. And in this case, if Otherwise, we have the same issue I was having in #608. At least when release is based on tracked branch. You see, how the user configures his repo and names his remotes shouldn't have bearing on where things get released. Otherwise, multiple people working on the same repo can end up making releases to different repos depending on whether they named their upstream remote |
(I have in fact made accidental github releases to wrong github repo due to this problem, since I've started using release-it recently :)) |
OK I guess that's clearly two votes in favor of using the same remote :) |
Alright, the feature is in v13.4.0 |
@webpro thanks for doing this, I think it will remove confusion. |
Yes, and it even cleaned up the codebase a bit 👍 |
The changes made fixed the issues we were having; thank you very much! |
We ran into an issue today where a release seemed to use different remotes than we expected.
We got tags in our "upstream" repo for 0.8.0 and 0.8.1:
https://github.com/Seneca-CDOT/telescope/releases
However, the actual GitHub Release went to the "origin" of the dev who ran it (cc @Silvyre):
https://github.com/Silvyre/telescope/releases/tag/0.8.1
I would have expected them both to go to the same repo.
Our release-it config looks like this:
With
github
I can specify thepushRepo
but I don't see anything like that in https://github.com/release-it/release-it/blob/master/docs/github-releases.md.Is this a config error on our part, a misunderstanding about what is expected, or a bug in release-it?
Thanks for any guidance on this. We love release-it.
The text was updated successfully, but these errors were encountered: