mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10057 from tianon/fix-tgz
Fix tgz for Windows binaries
This commit is contained in:
commit
5d59fdcd38
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ for d in "$CROSS/"*/*; do
|
||||||
GOARCH="$(basename "$d")"
|
GOARCH="$(basename "$d")"
|
||||||
GOOS="$(basename "$(dirname "$d")")"
|
GOOS="$(basename "$(dirname "$d")")"
|
||||||
BINARY_NAME="docker-$VERSION"
|
BINARY_NAME="docker-$VERSION"
|
||||||
BINARY_EXTENSION="$(binary_extension)"
|
BINARY_EXTENSION="$(export GOOS && binary_extension)"
|
||||||
BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
|
BINARY_FULLNAME="$BINARY_NAME$BINARY_EXTENSION"
|
||||||
mkdir -p "$DEST/$GOOS/$GOARCH"
|
mkdir -p "$DEST/$GOOS/$GOARCH"
|
||||||
TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz"
|
TGZ="$DEST/$GOOS/$GOARCH/$BINARY_NAME.tgz"
|
||||||
|
|
Loading…
Reference in a new issue