From 4558b1c7efca066031988e246d469ddea663d6f5 Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Thu, 23 Feb 2023 01:11:41 +0100 Subject: [PATCH] set the target in the created release (#4758) the target needs to be the current short commit hash because it is being compared to by the updater, the default is "master" which breaks the updater. --- .github/workflows/desktop-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 2355dc74..88fa58dd 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -67,6 +67,7 @@ jobs: env: GH_TOKEN: ${{github.token}} tag_name: ${{steps.configure.outputs.tag}} + target: ${{github.ref}} release_name: ${{steps.prepare.outputs.title}} body_path: ${{steps.prepare.outputs.body_path}} prerelease: ${{steps.prepare.outputs.is_beta}} @@ -75,7 +76,8 @@ jobs: args="--prerelease" fi gh release create "$tag_name" --draft --verify-tag $args \ - --title "$release_name" --notes-file "$body_path" + --target "$target" --title "$release_name" \ + --notes-file "$body_path" build-linux: strategy: