Skip to content

Commit

Permalink
force gen before release
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Sep 29, 2018
1 parent c9e44a2 commit 3946c20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -93,14 +93,14 @@ else
endif


build: info gen
build: info gen
@go get github.com/goreleaser/goreleaser
$(eval export SNAPSHOT_VERSION=$(VERSION))
@goreleaser --snapshot --rm-dist

install: build
@echo "=== installing $(PACKAGE)-$(OS)-$(ARCH) ==="
@echo cp dist/$(OS)_$(ARCH)/$(PACKAGE) /usr/local/bin/mu
@cp dist/$(OS)_$(ARCH)/$(PACKAGE) /usr/local/bin/mu
@chmod 755 /usr/local/bin/mu
@mu -v

Expand Down Expand Up @@ -144,7 +144,7 @@ changelog: check_github_token
@go get github.com/Songmu/ghch/cmd/ghch
@ghch --format=markdown --latest -w

github_release: check_github_token tag_release changelog
github_release: check_github_token gen tag_release changelog
@echo "=== generating github release '$(TAG_VERSION)' ==="
@go get github.com/goreleaser/goreleaser
@goreleaser --rm-dist --release-notes CHANGELOG.md
Expand Down

0 comments on commit 3946c20

Please sign in to comment.