Skip to content

Commit

Permalink
Adjust the position of the architecture name in Dockerlogbeat tarball (
Browse files Browse the repository at this point in the history
…#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 661a557)
  • Loading branch information
kvch authored Feb 18, 2021
1 parent f8b654d commit c25e066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/dockerlogbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c25e066

Please sign in to comment.