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.
This commit is contained in:
ebbit1q
2023-02-23 01:11:41 +01:00
committed by GitHub
parent f444ba9665
commit 4558b1c7ef

View File

@@ -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: