mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-28 02:06:12 -04:00
CI: Fix Windows Patches action release notes generation
By not specifying a checkout ref, actions/checkout does a second checkout when this action is invoked by the Publish workflow (release event). When this happens, it checks out the commit object from the tag, and git can no longer locate the annotated tag that contains the release notes. This then causes the release notes to be just the commit message and not the annotated tag message. The sparkle-appcast action in general and this actioo when invoked via the Dispatch workflow do not have this issue, and they both specify the tag as the ref.
This commit is contained in:
@@ -25,6 +25,7 @@ runs:
|
||||
with:
|
||||
path: "repo"
|
||||
fetch-depth: 0
|
||||
ref: ${{ inputs.tagName }}
|
||||
|
||||
- name: Download Release Artifact
|
||||
shell: pwsh
|
||||
|
||||
Reference in New Issue
Block a user