1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-26 04:22:05 +02:00

chore(ci): auto-close milestones on release

closes ##2675
This commit is contained in:
Carlos A Becker 2021-11-21 12:34:28 -03:00
parent 66cfa25f94
commit 3142db6d86
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 5 additions and 3 deletions

View File

@ -209,6 +209,9 @@ publishers:
- 'FURY_TOKEN={{ .Env.FURY_TOKEN }}'
cmd: ./scripts/fury-upload.sh {{ .ArtifactName }}
milestones:
- close: true
release:
extra_files:
- glob: ./cosign.pub

View File

@ -1,7 +1,6 @@
# Closing Milestones
GoReleaser can close repository milestones after successfully
publishing all artifacts.
GoReleaser can close repository milestones after successfully publishing all artifacts.
Let's see what can be customized in the `milestones` section:
@ -20,7 +19,7 @@ milestones:
# Default is false
close: true
# Fail release on errors, such as missing milestone on close
# Fail release on errors, such as missing milestone.
# Default is false
fail_on_error: true