Skip to content

Commit

Permalink
use go 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kobtea committed Mar 3, 2019
1 parent 940a357 commit a2e3e1b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
defaults: &defaults
docker:
- image: circleci/golang:1.11
- image: circleci/golang:1.12
working_directory: /go/src/github.com/kobtea/go-todoist

version: 2
Expand Down
14 changes: 5 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,8 @@ release: $(GORELEASER)
$(GORELEASER) release --rm-dist --debug

$(DEP):
go get -u github.com/golang/dep/cmd/dep

$(GORELEASER): $(DEP)
go get golang.org/x/tools/cmd/stringer
go get -d github.com/goreleaser/goreleaser
cd $(GOPATH)/src/github.com/goreleaser/goreleaser && \
$(DEP) ensure -vendor-only && \
make build && \
mv ./goreleaser $(GOPATH)/bin
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh

$(GORELEASER):
@wget -O - "https://github.com/goreleaser/goreleaser/releases/download/v0.95.0/goreleaser_$(shell uname -o | cut -d'/' -f2)_$(shell uname -m).tar.gz" | tar xvzf - -C /tmp
@mv /tmp/goreleaser $(GOPATH)/bin
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.4
0.1.5

0 comments on commit a2e3e1b

Please sign in to comment.