From 88434543a211828e0024393ae1583bf389c67cd1 Mon Sep 17 00:00:00 2001 From: mereith Date: Wed, 18 Dec 2024 00:55:58 +0800 Subject: [PATCH] fix: allow dirty --- .goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 0d4a465..392d7cf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,6 +4,9 @@ before: hooks: # You may remove this if you don't use go modules. - go mod tidy + # 添加以下配置来允许脏状态 +git: + dirty: true # 允许在"脏"状态下构建 builds: - env: - CGO_ENABLED=0