Skip to content

Commit 3255307

Browse files
committed
fix: 修正GoReleaser配置和工作流
- 删除错误的git.dirty配置 - 添加--skip-validate参数以允许在脏工作区运行
1 parent be0b47e commit 3255307

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
with:
4646
distribution: goreleaser
4747
version: latest
48-
args: release --clean
48+
args: release --clean --skip-validate
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# .goreleaser.yml
22
project_name: jg-cursor-cracker
33

4-
# 添加git配置
5-
git:
6-
dirty: true # 允许在脏工作区运行
7-
84
before:
95
hooks:
106
# 确保在项目根目录执行go mod tidy,忽略data目录中的go文件

0 commit comments

Comments
 (0)