From c25e06649b270a46027c3866e5df95945ebcfe5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Thu, 18 Feb 2021 12:42:05 +0100 Subject: [PATCH] Adjust the position of the architecture name in Dockerlogbeat tarball (#24095) (#24102) ## What does this PR do? Previously the Dockerlogbeat tarball produced by `mage package` contained the architecture information in the wrong position. Thus, the release manager could not find the build artifact. Expected name by RM: `elastic-logging-plugin-8.0.0-SNAPSHOT-docker-plugin-amd64.tar.gz` ## Why is it important? Release job of beats is failing. (cherry picked from commit 661a55734bebd940b5f5838847818b634bf7be59) --- x-pack/dockerlogbeat/magefile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/dockerlogbeat/magefile.go b/x-pack/dockerlogbeat/magefile.go index 4c0c7daeb02..5251e9285a1 100644 --- a/x-pack/dockerlogbeat/magefile.go +++ b/x-pack/dockerlogbeat/magefile.go @@ -320,7 +320,7 @@ func Export() error { for _, plat := range devtools.Platforms { arch := plat.GOARCH() - tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, arch, "docker-plugin") + tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, "docker-plugin", arch) outpath := filepath.Join("../..", packageEndDir, tarballName)