openlist: fix the version build information
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
parent
9fee83a20d
commit
89e1708b15
@ -36,8 +36,8 @@ GO_PKG_LDFLAGS:= \
|
||||
-X '$(GO_PKG)/internal/conf.BuiltAt=$(shell date '+%Y-%m-%d %H:%M:%S %z')' \
|
||||
-X '$(GO_PKG)/internal/conf.GoVersion=$(shell $(STAGING_DIR_HOSTPKG)/bin/go version | sed 's/go version //')' \
|
||||
-X '$(GO_PKG)/internal/conf.GitAuthor=The OpenList Projects Contributors <noreply@openlist.team>' \
|
||||
-X '$(GO_PKG)/internal/conf.GitCommit=tarball/$(shell echo $(PKG_HASH) | cut -c 1-7)' \
|
||||
-X '$(GO_PKG)/internal/conf.Version=v$(PKG_VERSION) (OpenWrt $(ARCH_PACKAGES))' \
|
||||
-X '$(GO_PKG)/internal/conf.GitCommit=$(shell echo $(PKG_SOURCE_VERSION) | cut -c 1-7)' \
|
||||
-X '$(GO_PKG)/internal/conf.Version=$(PKG_SOURCE_DATE) (OpenWrt $(ARCH_PACKAGES))' \
|
||||
-X '$(GO_PKG)/internal/conf.WebVersion=v$(PKG_WEB_VERSION)'
|
||||
ifneq ($(CONFIG_ARCH_64BIT),y)
|
||||
GO_PKG_EXCLUDES:=drivers/lark
|
||||
|
Loading…
x
Reference in New Issue
Block a user