Skip to content

Commit

Permalink
Merge ed1d851 into 8e20ab0
Browse files Browse the repository at this point in the history
  • Loading branch information
medzin committed Apr 5, 2018
2 parents 8e20ab0 + ed1d851 commit 206e295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
APPLICATION_NAME := github.com/allegro/mesos-executor
APPLICATION_VERSION := $(shell cat VERSION)
APPLICATION_VERSION := $(shell git describe --tags || echo "unknown")

LDFLAGS := -X main.Version=$(APPLICATION_VERSION)
USER_ID := `id -u $$USER`

BUILD_FOLDER := target

Expand Down Expand Up @@ -45,8 +44,8 @@ lint-deps:
(go get -u -v gopkg.in/alecthomas/gometalinter.v2 && gometalinter.v2 --install)

package: build
zip -j $(BUILD_FOLDER)/executor-linux-amd64.zip $(BUILD_FOLDER)/executor
chmod 0755 $(BUILD_FOLDER)/executor-linux-amd64.zip
zip -j $(BUILD_FOLDER)/executor-$(APPLICATION_VERSION)-linux-amd64.zip $(BUILD_FOLDER)/executor
chmod 0755 $(BUILD_FOLDER)/executor-$(APPLICATION_VERSION)-linux-amd64.zip
chmod 0777 $(BUILD_FOLDER)

test: $(COVERAGEDIR)/coverage.out
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit 206e295

Please sign in to comment.