A build pipeline is a sequence of tasks that are executed upon component build. Tasks are defined by the development env, applied on all of its components or by using a Bit app, affecting just a single component build.
Run the component build pipelines using the following command:
By default, Bit builds all components which changed, but you can use the component patterns to build specific components or the --unmodified
flag to force building components which didn't change.
Run the following to execute the snap pipeline (which includes the build pipeline):
Run the following to execute the tag pipeline (which includes the build pipeline):
By default, snaps and tags are built using Ripple CI, use the --build
flag force a local build.
Building Bit in your own CI is best using the bit tag --persist
flag. This flag checks for version changes in your bitmap following a soft tag and automatically versions your components accordingly.
bit tag --persist
By default, bit tag --persist will release a new patch version for your components. You can control the exact versions by running bit tag/snap --soft on your workspace before pushing changes to your repository.
bit tag --soft
By default, build tasks run only on modified components. To run the task on unmodified components, as well, run: