Closed constanca-m closed 5 months ago
Have you considered a different approach, like updating version.py
when a git tag is created instead? (see Tom's comment here).
Regardless of the approach, I'd also make sure that also CHANGELOG.md is updated before releasing.
Thanks @girodav. I added a changelog workflow. I will leave the version.py as the trigger, as it does not seem to make much difference.
What does this PR do?
It adds two GitHub actions workflows:
changelog
: whenversion.py
is updated on a pull request, it will check ifCHANGELOG
has the first line with* v$VERSION*
release
: Whenshare/version.py
gets pushed, it will automatically create a new tag namedlambda-v{VERSION}
.Why is it important?
It automates the tag process as mentioned in https://github.com/elastic/elastic-serverless-forwarder/issues/540.
With this workflow, we can also create a new workflow to zip dependencies on a new tag creation like mentioned in the issue https://github.com/elastic/elastic-serverless-forwarder/issues/683.
Checklist
CHANGELOG.md
Related issues