fix: missing installed version

This commit is contained in:
Bo-Yi Wu 2022-06-15 21:51:42 +08:00
parent 7a31e10541
commit 55cde9a13c
1 changed files with 2 additions and 2 deletions

View File

@ -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}}"