Skip to content

Commit

Permalink
Update notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Dec 21, 2024
1 parent 246755e commit 6d4ae9d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/actions/build/todesktop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ runs:
Mac (Apple Silicon): https://download.comfy.org/${BUILD_ID}/mac/dmg/arm64
Windows: https://download.comfy.org/${BUILD_ID}/windows/nsis/x64"
# Update the specific release and mark as non-prerelease
gh release edit ${{ inputs.RELEASE_TAG }} --notes-append "$DOWNLOAD_LINKS" --prerelease=false
# First get existing release notes
EXISTING_NOTES=$(gh release view ${{ inputs.RELEASE_TAG }} --json body -q .body)
# Combine existing notes with download links
UPDATED_NOTES="${EXISTING_NOTES}${DOWNLOAD_LINKS}"
# Update the release with combined notes
gh release edit ${{ inputs.RELEASE_TAG }} --notes "$UPDATED_NOTES" --prerelease=false
fi

0 comments on commit 6d4ae9d

Please sign in to comment.