diff --git a/mage.go b/mage.go index ec9a298..7b93c2a 100644 --- a/mage.go +++ b/mage.go @@ -116,7 +116,7 @@ func Docker() { qod.ANE(err) shouldWork(ctx, nil, wd, "box", "box.rb") - shouldWork(ctx, nil, wd, "docker", "tag", "xena/route:"+ver) + shouldWork(ctx, nil, wd, "docker", "tag", "xena/route:latest", "xena/route:"+ver) } // Linux builds binaries for linux @@ -176,11 +176,11 @@ func Package() { if osname == "windows" { file = file + ".exe" } - shouldWork(ctx, nil, filepath.Join(wd, "bin", osname), "cp", "-vrf", file, dir) + shouldWork(ctx, nil, filepath.Join(wd, "bin", osname), "cp", "-rf", file, dir) } - shouldWork(ctx, nil, wd, "cp", "-vrf", "doc", dir) - shouldWork(ctx, nil, wd, "cp", "-vrf", "README.md", dir) + shouldWork(ctx, nil, wd, "cp", "-rf", "doc", dir) + shouldWork(ctx, nil, wd, "cp", "-rf", "README.md", dir) shouldWork(ctx, nil, dir, "tar", "czf", filepath.Join(wd, "bin", fmt.Sprintf("route-%s-%s.tar.gz", ver, osname)), ".") }