fix: missing installed version
This commit is contained in:
parent
7a31e10541
commit
55cde9a13c
4
Makefile
4
Makefile
|
@ -35,7 +35,7 @@ vet:
|
|||
|
||||
lint:
|
||||
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||
$(GO) install github.com/mgechev/revive; \
|
||||
$(GO) install github.com/mgechev/revive@v1.2.1; \
|
||||
fi
|
||||
revive -config .revive.toml ./... || exit 1
|
||||
|
||||
|
@ -66,7 +66,7 @@ release-dirs:
|
|||
|
||||
release-build:
|
||||
@which gox > /dev/null; if [ $$? -ne 0 ]; then \
|
||||
$(GO) install github.com/mitchellh/gox; \
|
||||
$(GO) install github.com/mitchellh/gox@master; \
|
||||
fi
|
||||
gox -os="$(TARGETS)" -arch="$(ARCHS)" -tags="$(TAGS)" -ldflags="-s -w $(LDFLAGS)" -output="$(DIST)/binaries/$(EXECUTABLE)-$(VERSION)-{{.OS}}-{{.Arch}}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue