Skip to content

Commit

Permalink
close #64
Browse files Browse the repository at this point in the history
  • Loading branch information
ngtuna committed Aug 11, 2016
1 parent 52a933c commit 1b50161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/binary
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ else
OS_ARCH_ARG=($2)
fi

GITCOMMIT=$(git rev-parse --short HEAD)

# Get rid of existing binaries
rm -f kompose*

# Build binaries
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

0 comments on commit 1b50161

Please sign in to comment.