Skip to content

Commit 9cd1832

Browse files
committed
ci: 新增预版本发布机制
1 parent 6d9b5a8 commit 9cd1832

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.goreleaser.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ before:
44
hooks:
55
- go mod download
66

7+
release:
8+
# If set to auto, will mark the release as not ready for production
9+
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
10+
# If set to true, will mark the release as not ready for production.
11+
# Default is false.
12+
prerelease: auto
13+
714
builds:
815
- env:
916
- CGO_ENABLED=0

0 commit comments

Comments
 (0)