We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d015197 commit 34f4983Copy full SHA for 34f4983
internal/app/awesome-ci/scm-portal/github/release.go
@@ -94,7 +94,12 @@ func (ghrc *GitHubRichClient) PublishRelease(
94
}
95
96
97
- newReleaseBody := fmt.Sprintf("%s\n\n%s", *existingRelease.Body, releaseBodyAssets)
+ var newReleaseBody = ""
98
+ if *existingRelease.Body == "" {
99
+ newReleaseBody = fmt.Sprintf("%s\n\n%s", body, releaseBodyAssets)
100
+ } else {
101
+ newReleaseBody = fmt.Sprintf("%s\n\n%s", *existingRelease.Body, releaseBodyAssets)
102
+ }
103
existingRelease.Body = &newReleaseBody
104
105
// publishing release
0 commit comments