Skip to main content
Create a release along with its associated git commit, config schemas, upload rules in Miru. For a more detailed guide on creating releases, visit the release creation guide. To include upload rules, see the release upload rules guide.

Requirements

  • Schemas and upload rules must be committed to a local Git repository
  • Schemas must be annotated with their config types (see annotations)
  • Git repository must have a remote URL (e.g. GitHub) configured
  • At least one config schema is provided (upload rules are optional)

API key scopes

If creating a release from a CI pipeline, the following API key scopes are required:
  • git_commits:manage
  • config_types:manage
  • config_schemas:manage
  • releases:manage
If creating a release with upload rules, the following API key scopes are also required:
  • upload_collections:manage
  • upload_rules:manage

Usage

Use the --schemas flag to specify a directory containing the schemas to include in the release.
Flags
string
required
A semantic version, unique for a given release.Versions must be dot-separated integers. You may optionally use a v prefix, a prerelease suffix (e.g. -alpha.X, -beta.X, -rc.X), or a build suffix (e.g. +build-metadata).Examples: v1, 1, v2.1, 2.1, v3.2.1, 3.2.1, v4.3.2-beta.1, 4.3.2-rc.1, v5.4.3+metadata, 6.5.4-beta.2+metadata
string
A directory containing the config schemas to include in the release. May be specified multiple times for multiple directories.Must be specified if no schema files are provided.Examples: ./schemas
string
The path to a config schema to include in the release. May be specified multiple times to include multiple schemas.Must be specified if no schema directory is provided.Examples: ./schemas/schema1.yaml, ./schemas/schema2.yaml
string
A directory containing upload rule YAML files to include in the release. May be specified multiple times for multiple directories. Only YAML files in the directory are picked up.Examples: ./upload-rules/
string
The path to an upload rule YAML file to include in the release. May be specified multiple times to include multiple rules.Examples: ./upload-rules/robot-logs.yaml

Examples

If the provided git commit and schemas do not exist in Miru, they are created and attached to the new release. This is indicated by the (new) suffix in the output.
command
Last modified on July 21, 2026