From 531d7f1a9a6960bdcfab321c3cc6f44c7df590ef Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 26 Apr 2026 12:43:20 +0200 Subject: [PATCH] build: create GH release as draft, then publish Signed-off-by: Jakob Borg --- .github/workflows/build-syncthing.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index d662347e7..8b0cd8dd6 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -910,9 +910,11 @@ jobs: if ! gh release view --json name "$VERSION" >/dev/null 2>&1 ; then gh release create "$VERSION" \ $maybePrerelease \ + --draft \ --title "$VERSION" \ --notes-from-tag fi + gh release upload --clobber "$VERSION" \ packages/*.asc packages/*.json \ packages/syncthing-*.tar.gz \ @@ -933,6 +935,8 @@ jobs: $PKGS/*.asc \ $PKGS/*${repo}* done + + gh release edit "$VERSION" --draft=false env: GH_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }}