Skip to content

Commit

Permalink
fix: allow dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Dec 17, 2024
1 parent 9dc653f commit 8843454
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8843454

Please sign in to comment.