koji: use nvra as the filename for images

We have the same thing for AWS. The AWS target also specifies under what name
should be the image available in EC2.

As requested by Brew maintainers Tomáš Kopeček and Lubomír Sedlář.
This commit is contained in:
Ondřej Budai 2020-10-22 14:54:59 +02:00 committed by Tom Gundersen
parent b2ed59c385
commit befeef34a5
4 changed files with 64 additions and 5 deletions

View file

@ -10,6 +10,7 @@ type KojiTargetOptions struct {
Filename string `json:"filename"`
UploadDirectory string `json:"upload_directory"`
Server string `json:"server"`
KojiFilename string `json:"koji_filename"`
}
func (KojiTargetOptions) isTargetOptions() {}