Skip to content

Commit 151f509

Browse files
author
Utsav Krishnan
committed
update make_release script
1 parent a9da71c commit 151f509

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

make_release.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ RDIR="$(pwd)/release/${RELEASE_VERSION}"
1010

1111
mkdir -p "$RDIR"
1212

13-
cd project
14-
CDIR=`pwd`
15-
1613
for goarch in ""amd64 386""; do
1714
for goos in ""linux windows darwin""; do
1815
NAME="${PROJECT_NAME}_${RELEASE_VERSION}_${goos}_${goarch}"
19-
GOPATH="${CDIR}" CGO_ENABLED=0 GOOS=${goos} GOARCH=${goarch} go build -o ${RDIR}/${NAME}
16+
CGO_ENABLED=0 GOOS=${goos} GOARCH=${goarch} go build -o ${RDIR}/${NAME}
2017
echo ${NAME}
2118
done
2219
done
23-
cd ..

0 commit comments

Comments
 (0)