Skip to content

Commit

Permalink
Fix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
dnnrly committed Nov 14, 2019
1 parent 24de519 commit ed48576
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ libexec/
bin/
tmp/
share/
dist/
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ NAME=goclitem

export GO111MODULE=on
export GOPROXY=https://proxy.golang.org
export PATH := ./bin:$(PATH)
export PATH := $(BASE_DIR)/bin:$(PATH)

install: deps

Expand All @@ -23,7 +23,8 @@ build:

clean:
rm -f $(NAME)
rm -rf dist
rm -rf dist/
rm -rf cmd/$(NAME)/dist

clean-deps:
rm -rf ./bin
Expand Down Expand Up @@ -72,7 +73,7 @@ lint:
golangci-lint run

release: clean
$(GORELEASER_BIN) $(PUBLISH_PARAM)
cd cmd/$(NAME) ; $(GORELEASER_BIN) $(PUBLISH_PARAM)

update:
$(GO_BIN) get -u
Expand Down

0 comments on commit ed48576

Please sign in to comment.