fix: Use -trimpath for release bin build (#51)
This commit is contained in:
parent
902fa5245f
commit
9d50f5b851
2
Makefile
2
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
Block a user