Any way to set remote repository in cli mode?
See original GitHub issueMy situation may appear a little bit untypically, but perhaps this is already implemented:
- we have a closed Gitlab instance that we use for internal software development
- we publish some of our branches/tools to Github, for external code collaboration
So far, I’ve only released releases
in Github, because it was not possible in python-semantic-release to setup custom Gitlab instances.
Since GL_TOKEN
became available, I’d also like to publish releases to the master
branch on our custom Gitlab instance.
However, python-semantic-release seems to only use the remote that is set as default git remote. Is there any way to have it simultaneously publish releases to both Github and Gitlab using GH_TOKEN (e.g. remote origin
) and GL_TOKEN (e.g. remote gl_origin
)?
Alternatively, manually publishing/updating all releases to Gitlab would be totally ok for me, if there was such an option…
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Add a New Remote to your Git Repo
To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. The...
Read more >About remote repositories - GitHub Docs
You can use the command git remote set-url to change a remote's URL. Choosing a URL for your remote repository. There are several...
Read more >git-remote Documentation - Git
Add a remote named <name> for the repository at <URL>. The command git fetch <name> can then be used to create and update...
Read more >How to Get Started with GIT and work with GIT Remote Repo
On your local repo (let's continue to work on our " hello-git " project), set up the remote repo's name and URL via...
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 FreeTop 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
Top GitHub Comments
That sounds like a good idea.
So is this about having a cli option to the changelog command to be able to push the changelog to gitlab as well?