Closed v1v closed 8 months ago
it looks great @v1v, thank you for doing this 🚀
I have a question related to "Tag all the Lerna modules using the sha commit for the tag release @elastic/apm-rum-core"
What do you mean exactly by this? if I'm not wrong, we could also tag the latest commit of main (which should correspond to the release PR that has been merged), let me know if I'm confusing things
What do you mean exactly by this?
Rather than using the latest commit, I'm retrieving the sha commit for @elastic/apm-rum-core
:
we could also tag the latest commit of main (which should correspond to the release PR that has been merged), let me know if I'm confusing things
That's more straightforward; the outcome should be the same unless a PR merge happens when the Release workflow runs or something wrong happens with the sha commit.
I expect the current workspace to point to the correct sha commit, a.k .a. the tag release for @elastic/apm-rum-core
.
However, with my approach, it's possible to run the script to tag the latest releases and modules if they were not tagged locally; that's likely the main difference with using the latest commit of the main or the workspace.
Run
post-release
step at the very end of the release. Tag all the Lerna modules using the sha commit for the tag release@elastic/apm-rum-core
Tasks
It produced the below output: