elastic / elastic-serverless-forwarder

Elastic Serverless Forwarder
Other
35 stars 36 forks source link

[Github workflow] Add new tag on version.py update #685

Closed constanca-m closed 5 months ago

constanca-m commented 5 months ago

What does this PR do?

It adds two GitHub actions workflows:

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

Related issues

girodav commented 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.

constanca-m commented 5 months ago

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.