mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-25 20:30:47 +00:00
chore: automatically attach release author to release body.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
e836157771
commit
0884ca4c6f
5
.github/workflows/release.yaml
vendored
5
.github/workflows/release.yaml
vendored
@@ -155,6 +155,11 @@ jobs:
|
|||||||
- name: Merge release notes to pre existent body
|
- name: Merge release notes to pre existent body
|
||||||
run: cat notes.md >> release-body.md
|
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
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
|
@@ -146,16 +146,9 @@ Assume `M.m.p` is the new version.
|
|||||||
|
|
||||||
- [Draft a new release](https://github.com/falcosecurity/falco/releases/new)
|
- [Draft a new release](https://github.com/falcosecurity/falco/releases/new)
|
||||||
- Use `M.m.p` both as tag version and release title
|
- 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!
|
- Publish the release!
|
||||||
- The release pipeline will start automatically upon publication and all packages and container images will be uploaded to the stable repositories.
|
- 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.
|
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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user