Skip to content

Commit

Permalink
refactor(.github/workflows/go.yml): 移除master分支构建配置
Browse files Browse the repository at this point in the history
  • Loading branch information
imshuai committed Jan 3, 2025
1 parent 6c18b59 commit c995f60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
name: Build Release
on:
push:
branches:
- master # Pattern matched against refs/heads
# Pattern matched against refs/tags
tags:
- 'v*' # 创建所有tag都运行打包 v* 则 v1.0这种也行
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ archives:
{{- .Version }}-
{{- replace .Os "darwin" "macos" }}-
{{- .Arch }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
release:
name_template: "AlistAutoStrm - v{{.Version}}"
mode: replace
replace_existing_artifacts: true
changelog:
use: github
format: "{{.SHA}}: {{.Message}} (@{{.AuthorUsername}})"
Expand Down

0 comments on commit c995f60

Please sign in to comment.