diff --git a/Makefile b/Makefile index fc38592..8ed0bd0 100644 --- a/Makefile +++ b/Makefile @@ -69,7 +69,7 @@ embedmd: lint: @hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) install github.com/mgechev/revive; \ + $(GO) install github.com/mgechev/revive@v1.0.5; \ fi revive -config .revive.toml ./... || exit 1 @@ -88,14 +88,14 @@ $(EXECUTABLE): $(GOFILES) .PHONY: misspell-check misspell-check: @hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) install github.com/client9/misspell/cmd/misspell; \ + $(GO) install github.com/client9/misspell/cmd/misspell@v0.3.4; \ fi misspell -error $(GOFILES) .PHONY: misspell misspell: @hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) install github.com/client9/misspell/cmd/misspell; \ + $(GO) install github.com/client9/misspell/cmd/misspell@v0.3.4; \ fi misspell -w $(GOFILES) @@ -110,14 +110,14 @@ release-dirs: release-build: @hash gox > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) install github.com/mitchellh/gox; \ + $(GO) install github.com/mitchellh/gox@v1.0.1; \ fi gox -os="$(TARGETS)" -arch="$(ARCHS)" -tags="$(TAGS)" -ldflags="$(EXTLDFLAGS)-s -w $(LDFLAGS)" -output="$(DIST)/binaries/$(EXECUTABLE)-$(VERSION)-{{.OS}}-{{.Arch}}" .PHONY: release-compress release-compress: @hash gxz > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) install github.com/ulikunitz/xz/cmd/gxz; \ + $(GO) install github.com/ulikunitz/xz/cmd/gxz@v0.5.10; \ fi cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "compressing $${file}" && gxz -k -9 $${file}; done;