Publishing Modules

Overview

The publishing flow for S-CORE Bazel modules:

  1. GitHub Release in the module repository (with a semantic version tag)
  2. Registry import into eclipse-score/bazel_registry
  3. Consumer resolution via MODULE.bazel dependency declarations

Creating a Release

Create a GitHub Release in the module repository with a semantic version tag (e.g. v1.2.3). The release assets and source archive serve as the distribution artifact.

Adding to the Registry

Follow the instructions in the registry README to add the new version to the S-CORE Bazel registry.

Consumer Discovery

Published modules appear in the Registry UI. Consumers find available modules and versions there, then add a bazel_dep() entry to their MODULE.bazel.

Versioning

Modules use semantic versioning aligned with Git tags. The version in the registry entry matches the Git tag on the GitHub Release.