Skip to content

Commit 9fc96c0

Browse files
authored
Send release tag ref instead of main SHA in dispatch (#2799)
When release is published, dispatch now sends refs/tags/{tag_name} instead of main branch SHA, allowing UI server to build from the specific release tag.
1 parent e883f17 commit 9fc96c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-published.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
event-type: sync-from-ui-release
5757
client-payload: |
5858
{
59-
"ref": "${{ github.sha }}",
59+
"ref": "refs/tags/${{ github.event.release.tag_name }}",
6060
"release_tag": "${{ github.event.release.tag_name }}",
6161
"release_url": "${{ github.event.release.html_url }}"
6262
}

0 commit comments

Comments
 (0)