Skip to content
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

Configuring remote to enable reckonTagPush task from a fork #89

Closed
rohanliston opened this issue Jun 11, 2018 · 3 comments
Closed

Configuring remote to enable reckonTagPush task from a fork #89

rohanliston opened this issue Jun 11, 2018 · 3 comments

Comments

@rohanliston
Copy link

rohanliston commented Jun 11, 2018

Is it possible to configure which remote reckonTagPush pushes tags to?

Context:
At my workplace, all developers create their own fork of the main repository for a given project and submit pull requests back to the main repository (remote upstream) from their fork (remote origin).

reckonTagPush pushes tags to origin, which means that developers responsible for releasing versions via tags would have to have a second checkout with origin pointing to the main repository rather than just doing the equivalent of git push upstream <tagname>.

@ajoberstar
Copy link
Owner

Currently, this isn't configurable. It pushes to whatever remote your current branch is tracking. This could probably enhanced, though I'd probably be looking for someone to contribute this one, since it won't be high on my list.

As a workaround, you can run reckonTagCreate then do the git push upstream <tagname>.

@lehn-etracker
Copy link

+1

@EarthCitizen
Copy link

Having a configurable remote is not only useful for forks. Bamboo clones repos into a cache copy, then when your project builds, it gets cloned from Bamboo's cache copy instead of the remote server. As a result, if you push your release to origin, it only pushes to Bamboo's cache clone and never makes it to the remote server. The only way around this is to add a new remote and push the release to that remote. So, being unable to configure the remote to push to makes it impossible to use this plugin with Bamboo, if I am correctly understanding the limitations of reckon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants