
RDIR="$(pwd)/release/${RELEASE_VERSION}"

mkdir -p "$RDIR"

for goarch in ""amd64 386""; do
  for goos in ""linux windows darwin""; do
    NAME="${PROJECT_NAME}_${RELEASE_VERSION}_${goos}_${goarch}"
    CGO_ENABLED=0 GOOS=${goos} GOARCH=${goarch} go build -o ${RDIR}/${NAME}
    echo ${NAME}
  done