question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Release goes to origin vs. upstream remote

See original GitHub issue

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:

{
  "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:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
webprocommented, Mar 27, 2020

Alright, the feature is in v13.4.0

1reaction
webprocommented, Mar 26, 2020

OK I guess that’s clearly two votes in favor of using the same remote 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found