Don't assume dev platform was built
This commit is contained in:
parent
76e1a8ffb4
commit
4a29be7b50
|
@ -69,10 +69,12 @@ fi
|
||||||
|
|
||||||
# Copy our OS/Arch to the bin/ directory
|
# Copy our OS/Arch to the bin/ directory
|
||||||
DEV_PLATFORM="./pkg/$(go env GOOS)_$(go env GOARCH)"
|
DEV_PLATFORM="./pkg/$(go env GOOS)_$(go env GOARCH)"
|
||||||
for F in $(find ${DEV_PLATFORM} -mindepth 1 -maxdepth 1 -type f); do
|
if [[ -d "${DEV_PLATFORM}" ]]; then
|
||||||
cp ${F} bin/
|
for F in $(find ${DEV_PLATFORM} -mindepth 1 -maxdepth 1 -type f); do
|
||||||
cp ${F} ${MAIN_GOPATH}/bin/
|
cp ${F} bin/
|
||||||
done
|
cp ${F} ${MAIN_GOPATH}/bin/
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${TF_DEV}x" = "x" ]; then
|
if [ "${TF_DEV}x" = "x" ]; then
|
||||||
# Zip and copy to the dist dir
|
# Zip and copy to the dist dir
|
||||||
|
|
Loading…
Reference in New Issue