Skip to content

Commit dd423c6

Browse files
committed
Adjust the position of the architecture name in Dockerlogbeat tarball (#24095)
## 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 661a557)
1 parent f8b654d commit dd423c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/dockerlogbeat/magefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ func Export() error {
320320

321321
for _, plat := range devtools.Platforms {
322322
arch := plat.GOARCH()
323-
tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, arch, "docker-plugin")
323+
tarballName := fmt.Sprintf("%s-%s-%s-%s.tar.gz", logDriverName, version, "docker-plugin", arch)
324324

325325
outpath := filepath.Join("../..", packageEndDir, tarballName)
326326

0 commit comments

Comments
 (0)