mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
allow to override name of remote dist-git repo
This commit is contained in:
parent
e1558c06c8
commit
ca72ea19f6
2 changed files with 13 additions and 0 deletions
|
@ -470,6 +470,10 @@ class FedoraGitReleaser(Releaser):
|
|||
self.git_branches = \
|
||||
self.releaser_config.get(self.target, "branches").split(" ")
|
||||
|
||||
overwrite_checkout = self.config.get(self.target, "remote_git_name")
|
||||
if overwrite_checkout:
|
||||
self.project_name = overwrite_checkout
|
||||
|
||||
self.package_workdir = os.path.join(self.working_dir,
|
||||
self.project_name)
|
||||
|
||||
|
|
|
@ -173,6 +173,15 @@ changelog format:
|
|||
- Resolves: #1111 - description
|
||||
- Related: #1111 - description
|
||||
|
||||
RELEASER
|
||||
--------
|
||||
You can create section with the name same as releaser target and there you can
|
||||
specify this option:
|
||||
|
||||
remote_git_name::
|
||||
This is usefull for FedoraGitReleaser and DistGitReleaser and will allow you to
|
||||
specify name of remote dist-git branch.
|
||||
|
||||
EXAMPLE
|
||||
-------
|
||||
[globalconfig]
|
||||
|
|
Loading…
Add table
Reference in a new issue