mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 08:09:27 +00:00
### **User description**
Updated github release pipeline to add download url on release page.
___
### **PR Type**
Enhancement
___
### **Description**
- Include download URL in release drafter template
- Generate release body with binaries URL step
- Publish release using generated body
___
### Diagram Walkthrough
```mermaid
flowchart LR
DR[".github/release-drafter.yml"] -- "add download section" --> RN["Release Notes"]
RW[".github/workflows/release.yml"] -- "generate release body" --> G["release_body.md"]
G -- "set as body" --> GH["action-gh-release"]
```
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>release-drafter.yml</strong><dd><code>Add download
section to release drafter</code>
</dd></summary>
<hr>
.github/release-drafter.yml
- Added download binaries section in release notes template
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7678/files#diff-101bec72d0f1f84e7290d113531bbd8c6aa355cdc9f456df255544bc0a2da0ea">+4/-0</a>
</td>
</tr>
<tr>
<td>
<details>
<summary><strong>release.yml</strong><dd><code>Use release body with
download URL</code>
</dd></summary>
<hr>
.github/workflows/release.yml
<ul><li>Added generate-body step injecting download URL<br> <li> Updated
publish release to use generated body<br> <li> Removed obsolete files
parameter</ul>
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7678/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34">+9/-2</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>