fix release dirname

This commit is contained in:
Bradley Cicenas 2017-07-12 03:16:50 +00:00
parent a2011b8bc7
commit caa64724d0

View File

@ -5,7 +5,7 @@ EXT_LD_FLAGS="-Wl,--allow-multiple-definition"
LD_FLAGS="-w -X main.version=$(VERSION) -X main.build=$(BUILD) -extldflags=$(EXT_LD_FLAGS)"
clean:
rm -rf _build/ _release/
rm -rf _build/ release/
build:
glide install
@ -25,9 +25,9 @@ image:
docker build -t ctop -f Dockerfile .
release:
mkdir _release
mkdir release
go get github.com/progrium/gh-release/...
cp _build/* _release
cp _build/* release
gh-release create bcicen/$(NAME) $(VERSION) \
$(shell git rev-parse --abbrev-ref HEAD) $(VERSION)