Investigate why `npm run release` is not enough to trigger distro job on CI
barmac opened this issue · 6 comments
What should we do?
Investigate why npm run release
is not enough to trigger distro job on CI. The possible reason is that we do not have a tag commit as creating this manually fixes the problem.
Why should we do it?
When I run npm run release
for Zeebe Modeler 0.9.1 release, lerna created just an ordinary git tag instead of an annotated one. This caused Travis CI to skip the commit in the distro stage. I had to replace tag manually. @pinussilvestrus confirmed that he experienced the same issue.
What is an ordinary vs. an annotated tag? 🤔
I do not see the relevant difference.
In both cases, CI will pick up the new tag and build it. Right?
Nope, that's the thing here. In the first scenario, CI does not trigger the distro builds. Maciej had to annotate the tag manually to properly work
OK let's clarify this issue. The problem was that I had to manually create a tag commit to have the release picked up by CI.
I updated the issue description.