From b48bda4a6dbf405d09586b9b389a1225823dc92c Mon Sep 17 00:00:00 2001 From: Tw Date: Mon, 10 Oct 2016 16:39:27 +0800 Subject: [PATCH] dist: adapt to archiver's refactor Signed-off-by: Tw --- dist/automate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/automate.go b/dist/automate.go index af3dce16c..2a29e4a06 100644 --- a/dist/automate.go +++ b/dist/automate.go @@ -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) }