It demonstrates independent version calculations against multiple docker images managed by Lerna. It however DOES NOT cover image release process.
- Run
yarn
from root to install deps. - Make a change in Dockerfile inside either
lambda
ornode
directory. - Submit a commit that follows conventional commit criteria.
- From project root, run
task build_and_publish_image
.
You will see what's been changed and associated version for next release.
- If change does not require a new release of image, don't use conventional commits.
- Version Bump/Release tagging SHOULD ONLY happen on
main
branch unless it'sprerelease
. In other words,main
andprerelease
should have different release channels.
- By default,
lerna version
will push the committed and tagged changes to the configured git remote. Pass--no-push
to disable this behavior.