Skip to content

Commit

Permalink
Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
free committed Nov 1, 2017
1 parent e33cdd5 commit 9206104
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ build:
@echo ">> building binaries"
@GOOS=linux GOARCH=amd64 $(GO) build -ldflags "-X main.Version=$(VERSION)" github.com/alin-sinpalean/jiralert/cmd/jiralert

release:
@echo ">> packaging release $(RELEASE)"
tarball:
@echo ">> packaging release $(VERSION)"
@rm -rf "$(RELEASE_DIR)/*"
@mkdir -p "$(RELEASE_DIR)"
@cp jiralert README.md LICENSE "$(RELEASE_DIR)"
@mkdir -p "$(RELEASE_DIR)/config"
@cp config/* "$(RELEASE_DIR)/config"
#@pushd release >/dev/null
@tar -zcvf "$(RELEASE).tar.gz" -C "$(RELEASE_DIR)"/.. "$(RELEASE)"
#@popd >/dev/null
@rm -rf "$(RELEASE_DIR)"

get_staticcheck:
Expand Down

0 comments on commit 9206104

Please sign in to comment.