-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🧹 Allow re-running the goreleaser job #4192
Conversation
656dd08
to
231a909
Compare
.goreleaser.yml
Outdated
@@ -340,3 +340,6 @@ docker_manifests: # https://goreleaser.com/customization/docker_manifest/ | |||
- mondoo/{{ .ProjectName }}:latest-arm64v8-rootless | |||
- mondoo/{{ .ProjectName }}:latest-armv6-rootless | |||
- mondoo/{{ .ProjectName }}:latest-armv7-rootless | |||
release: | |||
replace_existing_artifacts: true | |||
mode: keep-existing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this when we are replacing existing artifgacts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It is only about the release notes, not the artifacts:
What to do with the release notes in case there the release already exists.
Valid options are:
-
keep-existing
: keep the existing notes-
append
: append the current release notes to the existing notes-
prepend
: prepend the current release notes to the existing notes-
replace
: replace existing notesDefault is
keep-existing
.mode: append
https://goreleaser.com/customization/release/?h=replace_existing_artifacts#github
Perhaps not, now that I see the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it.
With this change, it can override the existing release files. This can help in case something goes wrong. Signed-off-by: Christian Zunker <[email protected]>
231a909
to
c224a0f
Compare
With this change, it can override the existing release files. This can help in case something goes wrong.