Releasing components

You can use Bit as a build system to release your components, with or without bit.cloud.

Login to bit cloud:

$bit
Copiedcopy
See command synopsis

Use tag to sematic version your components.

$bit
Copiedcopy
See command synopsis

By default, Bit uses Ripple CI to build components. You can use the --build flag to build the components on the local machine. To tag and export from your CI of choice to automate the release process or use our official CI scripts.

$bit
Copiedcopy
See command synopsis

Your components are now released and available to use as packages. Head to the install components section to learn more on installing components.

Pre-releases

Use bit snap to pre-release components:

$bit
Copiedcopy
See command synopsis

You can also create sematic pre-releases using the following command:

$bit
Copiedcopy
See command synopsis

CI scripts

If using your own CI, you can use our official scripts for automating the release process for your repostiory and PRs.

Using build

You can use Bit as your repository build system even without leveraging a remote scope. Use the build command locally or from your CI to trigger the build for your components:

$bit
Copiedcopy
See command synopsis

To run the deployment pipeline use the --include-tag flag. You can also host your own Bit scope for having a remote server for your components.

Learn more