Skip to content

Commit

Permalink
Fix Makefile issue for build and release
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen Premaratne committed Apr 7, 2021
1 parent af2a201 commit 0769799
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BINARY = DynDNS
BINARY = dyndns
GOARCH = amd64

VERSION?=latest
Expand Down Expand Up @@ -44,7 +44,6 @@ build:
GOOS=darwin GOARCH=${GOARCH} go build ${LDFLAGS} -o ${BIN_DIR}/${BINARY} .

package:
@cp -r resources/ ${BIN_DIR}/${BINARY}-linux-${GOARCH}/${VERSION}/${BINARY}/
@mkdir -p ${BIN_DIR}/${VERSION}/
@tar -cvjf ${BIN_DIR}/${VERSION}/${BINARY}-linux-${GOARCH}.tar -C ${BIN_DIR}/${BINARY}-linux-${GOARCH}/${VERSION}/ .

Expand Down

0 comments on commit 0769799

Please sign in to comment.