Skip to content

Commit

Permalink
优化 goreleaser 自动化流程
Browse files Browse the repository at this point in the history
  • Loading branch information
iuroc committed Nov 11, 2024
1 parent f04f73e commit e740319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ git clone https://github.com/iuroc/bilidown

### 交叉编译发行版

- 执行 `goreleaser` 命令时将自动执行 `pnpm build``go mod tidy`

```shell
cd bilidown/server
# [交叉编译 Releases]
Expand Down
1 change: 1 addition & 0 deletions server/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ before:
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
- pnpm --prefix ../client build

builds:
- id: bilidown_windows
Expand Down

0 comments on commit e740319

Please sign in to comment.