Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Dec 21, 2024
1 parent 8843454 commit 7fdb989
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: v1.18.2
version: v1.19
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ 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
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ run-api:
# Run the application
run:
@go run . &
@pnpm install --prefix ./ui/website
@pnpm run start --prefix ./ui/website
@cd ./ui && pnpm run start

# Clean the binary
clean:
Expand Down

0 comments on commit 7fdb989

Please sign in to comment.