Skip to content

Commit

Permalink
Fix missing go version in build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
fabxc committed Sep 18, 2015
1 parent ac95545 commit dbb66d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ revision=$( git rev-parse --short HEAD 2> /dev/null || echo 'unknown' )
branch=$( git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unknown' )
host=$( hostname -f )
build_date=$( date +%Y%m%d-%H:%M:%S )
go_version=$( go version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/' )

if [ "$(go env GOOS)" = "windows" ]; then
ext=".exe"
Expand Down

0 comments on commit dbb66d7

Please sign in to comment.