This commit is contained in:
Tuna 2016-08-11 10:10:20 +07:00
parent 52a933ce17
commit 1b501619b7

View File

@ -13,6 +13,8 @@ else
OS_ARCH_ARG=($2)
fi
GITCOMMIT=$(git rev-parse --short HEAD)
# Get rid of existing binaries
rm -f kompose*
@ -20,5 +22,5 @@ rm -f kompose*
gox "${OS_PLATFORM_ARG[@]}" "${OS_ARCH_ARG[@]}" \
-output="bundles/kompose_{{.OS}}-{{.Arch}}/kompose" \
-tags experimental \
-ldflags="-w -X github.com/skippbox/kompose/version.GITCOMMIT=${GITCOMMIT}" \
./cli/main