Skip to content

Commit 35b36dc

Browse files
committed
Bump version v0.1.2
1 parent 256e299 commit 35b36dc

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.travis/before_deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ if ! [ "$BEFORE_DEPLOY_RUN" ]; then
3131
if [ x"$TRAVIS_OS_NAME" = x"osx" ]; then
3232
bash .travis/macosx-build.sh
3333
fi
34-
35-
if [ x"$TRAVIS_OS_NAME" = x"linux" ]; then
36-
sha256sum build/mole* > build/mole_sha256_checksum.txt
37-
fi
3834
fi
3935

4036
if [ x"$TRAVIS_OS_NAME" = x"linux" ]; then

.travis/macosx-build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,11 @@ cd ${MOLE_PATH}
251251

252252
GOOS=darwin
253253
GOARCH=amd64
254-
GO_LDFLAGS="-w -s -X 'github.com/mole-ids/mole/cmd.AppName=${APPNAME}' -X 'github.com/mole-ids/mole/cmd.Version=${VERSION}' -X 'github.com/mole-ids/mole/cmd.BuildDate=${BUILDDATE}' -X 'github.com/mole-ids/mole/cmd.BuildHash=${BUILD}' -extldflags '-static'"
254+
GO_LDFLAGS="-w -s -X 'github.com/mole-ids/mole/cmd.AppName=${APPNAME}' -X 'github.com/mole-ids/mole/cmd.Version=${VERSION}' -X 'github.com/mole-ids/mole/cmd.BuildDate=${BUILDDATE}' -X 'github.com/mole-ids/mole/cmd.BuildHash=${BUILD}'"
255255

256256
echo -n "[*] Compiling Mole IDS for Darwin amd64..."
257257
ERROR=$(CGO_ENABLED=1 \
258+
\
258259
PKG_CONFIG_PATH="${YARA_64_PREFIX}/lib/pkgconfig:${LIBPCAP_64_PREFIX}/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" \
259260
go build -race -ldflags="${GO_LDFLAGS}" -o build/mole_${GOOS}_${GOARCH} main.go 2>&1 >/dev/null)
260261
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)