Closed petethepig closed 1 year ago
@eh-am reported there's still some rough edges with release-please
:
I figured in this repo we might also have issues with 2 separate packages.
I'd say let's start with release
part which would build artifacts and publish them for each tag that matches something like ruby-v*
and python-v*
. We could use this Running your workflow only when a push of specific tags occurs functionality.
And then later in the future we can integrate it with release-please
or something else like that for automated tagging + updates in version.rb and setup.py.
We need to make it so that a new release for ruby or python can be created, built and published via Github Actions in 1 step.
We do a similar thing here in pyroscope-lambda-extension repo, we can use it for inspiration.
My understanding is that there are 2 workflows:
release-please
— this one creates a "release PR" based on conventional commits in the main repo. They have support for ruby and python packages which is nice.release
— this one runs on each release tag — it builds artifacts, publishes the results and updates github release.I figured we can have the same thing here. We already have the building phases implemented for both ruby and python. ~
release-please
can help us automate the tagging phase, and publishing we'll have to implement ourselves I suppose.~ see my comment below about the proposed order for this.