-
Notifications
You must be signed in to change notification settings - Fork 11
Add release workflow for litani #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3b266aa
to
216ca49
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to this. My main question is whether we can integrate the changelog into the release notes.
Maybe the right thing to do here is: instead of this workflow triggering on litani-*
tag, it would trigger on any commit that gets pushed with an updated changelog. In that case, it would take the release notes from the changelog, and the workflow itself would create the release tag.
So from a user perspective, when we want to create a new release, we add to the CHANGELOG and push that change to the develop
branch, and this workflow would merge the release
branch into that commit and tag it as the next release.
That might be more complicated though because the workflow itself would have to figure out the release number... But I'm quite keen for the release notes to end up in the tag message.
c9fd030
to
94273dc
Compare
d2bd96b
to
931433c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome :)
931433c
to
0d02034
Compare
Tests
Example Release - [workflow]
Deb package - [workflow]
Example PR to tap - [workflow]
Description of changes:
This workflow gets triggered when a tag is pushed of format
litani-*
.Bot creates a release for that tag with a boilerplate description.
If a release is created successfully, it also creates a
debian
package for Litani onubuntu-20.04
, tests it and uploads it as an additional asset to the release and also create a PR toaws/tap
with updatedversion
,tag
andcommit
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.