We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9da71c commit 151f509Copy full SHA for 151f509
make_release.sh
@@ -10,14 +10,10 @@ RDIR="$(pwd)/release/${RELEASE_VERSION}"
10
11
mkdir -p "$RDIR"
12
13
-cd project
14
-CDIR=`pwd`
15
-
16
for goarch in ""amd64 386""; do
17
for goos in ""linux windows darwin""; do
18
NAME="${PROJECT_NAME}_${RELEASE_VERSION}_${goos}_${goarch}"
19
- GOPATH="${CDIR}" CGO_ENABLED=0 GOOS=${goos} GOARCH=${goarch} go build -o ${RDIR}/${NAME}
+ CGO_ENABLED=0 GOOS=${goos} GOARCH=${goarch} go build -o ${RDIR}/${NAME}
20
echo ${NAME}
21
done
22
23
-cd ..
0 commit comments