File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ROOT=$(dirname $(dirname $0))
66cd $ROOT
77FILENAME=rabbitmq-dump-queue
88EXT=" "
9- if [ " $GOOS " == " windows" ] ; then
9+ if [ " $GOOS " = " windows" ] ; then
1010 EXT=" .exe"
1111fi
1212go build -o bin/$FILENAME$EXT .
Original file line number Diff line number Diff line change 22
33set -e
44
5- if [ " $1 " == " " ] ; then
5+ if [ -z " $1 " ] ; then
66 echo " Usage: $0 VERSION"
77 echo " Example: $0 v0.2"
88 exit 1
@@ -30,7 +30,7 @@ for os in linux darwin windows ; do
3030 cp README.md $releasedir /
3131 cp LICENSE $releasedir /
3232
33- if [ " $os " == " linux" ] ; then
33+ if [ " $os " = " linux" ] ; then
3434 (cd release && tar czf $releasename .tgz $releasename )
3535 else
3636 (cd release && zip -qr $releasename .zip $releasename )
You can’t perform that action at this time.
0 commit comments