Skip to content

Commit

Permalink
Updated release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ymkjp committed Feb 14, 2019
1 parent 2297877 commit 21bcf71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ XC_OS=${XC_OS:-linux darwin windows}
VERSION=${VERSION:-v0.0.0}
BUILD_FLAGS="-X \"main.Version=${VERSION}\""
ASSET_DIR="${ASSET_DIR:=pkg}"
echo "ASSET_DIR:${ASSET_DIR}"

rm -rf pkg/*
#rm -rf pkg/*
gox \
-ldflags="${BUILD_FLAGS}" \
-os="${XC_OS}" \
Expand Down

0 comments on commit 21bcf71

Please sign in to comment.