diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 700e582..e167852 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -66,8 +66,12 @@ notarize: changelog: disable: true +# release-please creates the release as a draft so `releases/latest` keeps +# pointing at the previous release until every asset is uploaded; goreleaser +# publishes the draft once the uploads finish. release: draft: false + use_existing_draft: true prerelease: auto mode: keep-existing extra_files: diff --git a/release-please-config.json b/release-please-config.json index 76393a4..82407be 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -6,6 +6,8 @@ "package-name": "patchwave-analysis", "include-component-in-tag": false, "changelog-path": "CHANGELOG.md", + "draft": true, + "force-tag-creation": true, "bump-minor-pre-major": true, "changelog-sections": [ { "type": "feat", "section": "Features" },