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