Correction du format du nom des binaires générés par script/dist
This commit is contained in:
parent
ee8ae288eb
commit
e1afb6db7a
10
script/dist
10
script/dist
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PROJECT_NAME=packer-opennebula
|
PROJECT_NAME=packer
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
DIST_DIR="$DIR/../dist"
|
DIST_DIR="$DIR/../dist"
|
||||||
|
|
||||||
@ -42,9 +42,9 @@ export CGO_ENABLED=0
|
|||||||
export GO_EXTLINK_ENABLED=0
|
export GO_EXTLINK_ENABLED=0
|
||||||
|
|
||||||
if [ -z "${GOOS}" ] && [ -z "${GOARCH}" ]; then
|
if [ -z "${GOOS}" ] && [ -z "${GOARCH}" ]; then
|
||||||
FILE_EXT= GOOS=linux GOARCH=amd64 build ./cmd/post-processor/image-template post-processor-image-template
|
FILE_EXT= GOOS=linux GOARCH=amd64 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
|
||||||
FILE_EXT= GOOS=linux GOARCH=386 build ./cmd/post-processor/image-template post-processor-image-template
|
FILE_EXT= GOOS=linux GOARCH=386 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
|
||||||
FILE_EXT= GOOS=linux GOARCH=arm GOARM=7 build ./cmd/post-processor/image-template post-processor-image-template
|
FILE_EXT= GOOS=linux GOARCH=arm GOARM=7 build ./cmd/post-processor/image-template post-processor-opennebula-image-template
|
||||||
else
|
else
|
||||||
build ./cmd/server ./cmd/post-processor/image-template post-processor-image-template
|
build ./cmd/server ./cmd/post-processor/image-template post-processor-opennebula-image-template
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue
Block a user