Run the following to switch back to the 'main' lane:
$bit lane switch main
The output should be similar to the following:
successfully set "main" as the active lane
Run the following to merge the lane to 'main':
$bit lane merge my-lane
The output should be similar to the following:
successfully merged components
learnbit.getting-started-with-lanes/hello-world
updated hello-world.composition.tsx
updated hello-world.docs.mdx
updated hello-world.spec.ts
updated hello-world.ts
updated index.ts
learnbit.getting-started-with-lanes/hello-world
updated hello-world.composition.tsx
updated hello-world.docs.mdx
updated hello-world.spec.ts
updated hello-world.ts
updated index.ts
Run the following to check your workspace status:
$bit status
The output should list a snapped component (which was auto-snapped after merge), pending to be tagged with a release version:
snapped components (tag pending)
(use "bit tag" or "bit tag --snapped" to lock a version)
> learnbit.getting-started-with-lanes/hello-world ... ok
(use "bit tag" or "bit tag --snapped" to lock a version)
> learnbit.getting-started-with-lanes/hello-world ... ok
Run the following to tag the auto-snapped components with a release version:
$bit tag --snapped
Run the following to export the tagged components to their remote scopes:
$bit export
The exported snaps/tags are now available in the components' scopes, and are part of the components' history.