From 022aab507ac2184033415db23a00300c834975a8 Mon Sep 17 00:00:00 2001 From: sbwml Date: Sun, 22 Jun 2025 19:09:48 +0800 Subject: [PATCH] openlist: fix build version Signed-off-by: sbwml --- openlist/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openlist/Makefile b/openlist/Makefile index bcbd1e7..85df70c 100644 --- a/openlist/Makefile +++ b/openlist/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openlist PKG_VERSION:=4.0.1 PKG_WEB_VERSION:=4.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/OpenListTeam/OpenList/tar.gz/v$(PKG_VERSION)? @@ -37,8 +37,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 ' \ - -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.GitCommit=tarball/$(shell echo $(PKG_HASH) | cut -c 1-7)' \ + -X '$(GO_PKG)/internal/conf.Version=$(PKG_VERSION) (OpenWrt $(ARCH_PACKAGES))' \ -X '$(GO_PKG)/internal/conf.WebVersion=v$(PKG_WEB_VERSION)' ifneq ($(CONFIG_ARCH_64BIT),y) GO_PKG_EXCLUDES:=drivers/lark