chore: automatically attach release author to release body.

Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
Federico Di Pierro
2023-09-22 10:23:45 +02:00
committed by poiana
parent e836157771
commit 0884ca4c6f
2 changed files with 6 additions and 8 deletions

View File

@@ -155,6 +155,11 @@ jobs:
- name: Merge release notes to pre existent body
run: cat notes.md >> release-body.md
- name: Attach release creator to release body
run: |
echo "" >> release-body.md
echo "#### Release Manager @${{ github.event.release.author.login }}" >> release-body.md
- name: Release
uses: softprops/action-gh-release@v1
with:

View File

@@ -146,16 +146,9 @@ Assume `M.m.p` is the new version.
- [Draft a new release](https://github.com/falcosecurity/falco/releases/new)
- Use `M.m.p` both as tag version and release title
- Do NOT fill body, since it will be generated by the [github release workflow](.github/workflows/release.yaml)
- Do NOT fill body, since it will be autogenerated by the [github release workflow](.github/workflows/release.yaml)
- Publish the release!
- The release pipeline will start automatically upon publication and all packages and container images will be uploaded to the stable repositories.
- Once the release is out the release body will be generated
- Add the release manager handle at the end of the pre-generated release body:
```
#### Release Manager <github handle>
<!-- Substitute GitHub handle with the release manager's one -->
```
In order to check the status of the release pipeline click on the [GitHub Actions tab](https://github.com/falcosecurity/falco/actions?query=event%3Arelease) in the Falco repository and filter by release.