fix(ci): make sure release zip files have a .zip ending

This commit is contained in:
kolaente 2022-10-02 16:29:10 +02:00
parent 81f09f7dc0
commit 0d8451ab6e
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -664,7 +664,7 @@ func (Release) Zip() error {
fmt.Printf("Zipping %s...\n", info.Name()) fmt.Printf("Zipping %s...\n", info.Name())
c := exec.Command("zip", "-r", RootPath+"/"+DIST+"/zip/"+info.Name(), ".", "-i", "*") c := exec.Command("zip", "-r", RootPath+"/"+DIST+"/zip/"+info.Name()+".zip", ".", "-i", "*")
c.Dir = path c.Dir = path
out, err := c.Output() out, err := c.Output()
fmt.Print(string(out)) fmt.Print(string(out))