GitHub Release goes to origin vs. upstream remote
See original GitHub issueWe 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:
{
"hooks": {
"before:init": ["npm run test-ci"]
},
"git": {
"pushRepo": "upstream"
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
With github
I can specify the pushRepo
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.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
What is the difference between origin and upstream on GitHub?
Upstream generally refers to the original repo that you have forked. To keep track of the original repo, you need to add another...
Read more >Git — origin vs. upstream vs. branches | by Siva Natarajan
Displays the list of tracked repositories. In this scenario, the tracking will be only on the origin. git remote -vorigin https://github.com/ ...
Read more >What is the difference between git upstream and origin on ...
Original definition from the documentation: · When a repo is cloned, it has a default remote called origin that points to your fork...
Read more >Git Forks and Upstreams: How-to and a cool tip - Atlassian
In a standard setup, you generally have an origin and an upstream remote — the latter being the gatekeeper of the project or...
Read more >Getting geeky with Git #1. Remotes and upstream branches
Remote is a repository other than our local copy. The origin keyword is an alias to the default remote connected to our local...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, the feature is in v13.4.0
OK I guess that’s clearly two votes in favor of using the same remote 😃