Skip to content

Commit df2695d

Browse files
committed
🔧 chore(Makefile): 更新构建时间格式。
- 修正 `date` 命令中的无效参数,确保构建时间正确生成。
1 parent a1a63b4 commit df2695d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ OUTPUT_DIR=bin
77
# 版本信息
88
VERSION ?= $(shell git tag --points-at HEAD 2>/dev/null || echo "dev")
99
GIT_COMMIT := $(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
10-
BUILD_TIME := $(shell date -u '+%Y-%m-%d %H:%M:%S')
10+
BUILD_TIME := $(shell date '+%Y-%m-%d %H:%M:%S')
1111
GO_VERSION := $(shell go version | awk '{print $$3}')
1212

1313
# ldflags

0 commit comments

Comments
 (0)