Skip to content

Commit

Permalink
adjust makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed May 16, 2019
1 parent 71637dc commit 777af61
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ upload:
ghr -body="$$(ghch --latest -F markdown)" v$(VERSION) dist/snapshot

.PHONY: release
release: bump crossbuild upload
release: bump docker-release

.PHONY: local-release
local-release: bump crossbuild upload

.PHONY: docker-release
docker-release:
@docker run \
-v $(PWD):/go/src/github.com/motemen/ghq \
-w /go/src/github.com/motemen/ghq \
-v $(PWD):/build \
-w /build \
-e GITHUB_TOKEN="$(GITHUB_TOKEN)" \
--rm \
golang:1.12 \
Expand Down

0 comments on commit 777af61

Please sign in to comment.