mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-22 05:38:58 +08:00
debug ci
This commit is contained in:
2
.github/workflows/goreleaser.yml
vendored
2
.github/workflows/goreleaser.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
# either 'goreleaser' (default) or 'goreleaser-pro'
|
||||||
distribution: goreleaser
|
distribution: goreleaser
|
||||||
version: latest
|
version: latest
|
||||||
args: release --clean
|
args: release --clean --snapshot
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
|
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ release:
|
|||||||
replace_existing_draft: true
|
replace_existing_draft: true
|
||||||
prerelease: auto
|
prerelease: auto
|
||||||
mode: replace
|
mode: replace
|
||||||
|
# 允许快照版本发布
|
||||||
|
allow_snapshot: true
|
||||||
|
name_template: "Build {{.Tag}}"
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# 删除已有的frontend文件夹
|
# 删除已有的frontend文件夹
|
||||||
@@ -14,6 +17,12 @@ before:
|
|||||||
- cp -r build frontend || true
|
- cp -r build frontend || true
|
||||||
# 打包前先执行一些必要的操作
|
# 打包前先执行一些必要的操作
|
||||||
- go mod tidy
|
- go mod tidy
|
||||||
|
|
||||||
|
# 源代码配置
|
||||||
|
source:
|
||||||
|
enabled: true
|
||||||
|
prefix_template: '{{ .ProjectName }}-source'
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- format: tar.gz
|
- format: tar.gz
|
||||||
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user