mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Merge pull request #1175 from tw4452852/fix_archiver
dist: adapt to archiver's refactor
This commit is contained in:
commit
9ced4b17e5
1 changed files with 2 additions and 2 deletions
4
dist/automate.go
vendored
4
dist/automate.go
vendored
|
@ -81,12 +81,12 @@ func main() {
|
|||
fmt.Printf("== Compressing %s\n", baseFilename)
|
||||
|
||||
if p.archive == "zip" {
|
||||
err := archiver.Zip(archive, archiveContents)
|
||||
err := archiver.Zip.Make(archive, archiveContents)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
} else if p.archive == "tar.gz" {
|
||||
err := archiver.TarGz(archive, archiveContents)
|
||||
err := archiver.TarGz.Make(archive, archiveContents)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue