We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 058dcf3 commit 00db008Copy full SHA for 00db008
1 file changed
.github/workflows/publish.yml
@@ -110,8 +110,11 @@ jobs:
110
# Upload complete bundle
111
gh release upload "$TAG" opendis7-release.zip --clobber --repo "$REPO"
112
113
- # Update release body with the generated description
114
- gh release edit "$TAG" --notes-file /tmp/release-body.md --repo "$REPO"
+ # Only set release body if the author left it empty
+ EXISTING_BODY=$(gh release view "$TAG" --repo "$REPO" --json body --jq '.body')
115
+ if [ -z "$EXISTING_BODY" ]; then
116
+ gh release edit "$TAG" --notes-file /tmp/release-body.md --repo "$REPO"
117
+ fi
118
119
- name: Upload Javadoc for GitHub Pages
120
uses: actions/upload-pages-artifact@v3
0 commit comments