fix: Use `-trimpath` for release bin build (#51)
parent
902fa5245f
commit
9d50f5b851
4
Makefile
4
Makefile
|
@ -69,5 +69,5 @@ help: ## Show this help
|
||||||
|
|
||||||
.PHONY: build-release-bin
|
.PHONY: build-release-bin
|
||||||
build-release-bin: build-frontend
|
build-release-bin: build-frontend
|
||||||
GO111MODULE=on GOOS=linux GOARCH=amd64 $(go) build -ldflags '$(LDFLAGS)' -o bin/filebrowser-$(VERSION)
|
GO111MODULE=on GOOS=linux GOARCH=amd64 $(go) build -trimpath -ldflags '$(LDFLAGS)' -o bin/filebrowser-$(VERSION)
|
||||||
tar -C bin -czf "dist/filebrowser-$(VERSION).tar.gz" "filebrowser-$(VERSION)"
|
tar -C bin -czf "dist/filebrowser-$(VERSION).tar.gz" "filebrowser-$(VERSION)"
|
||||||
|
|
Loading…
Reference in New Issue