bricks updateci

Automate artifact and blueprint updates based on Git changes

Synopsis

Detects changes in artifacts, bumps their versions, optionally updates dependent blueprints, and commits only the changed files. Useful for CI/CD pipelines.

bricks updateci [flags]

Options

      --artifact-bump string       Version bump type for artifacts (default "patch")
      --artifacts-folder string    Path to artifacts folder
      --base string                Base Git branch/commit for comparison (git diff base..head) (default "origin/master")
      --blueprint-bump string      Version bump type for blueprints (default "patch")
      --blueprints-folder string   Path to blueprints folder
      --dry                        Run in dry-run mode
      --head string                Head Git branch/commit for comparison (git diff base..head) (default "HEAD")
      --no-commit                  Do not commit changes back to Git
      --no-publish-artifacts       Skip publishing artifacts (only bump versions)
      --no-publish-blueprints      Skip publishing blueprints (only bump versions)
      --no-update-blueprints       Skip updating blueprints that depend on changed artifacts
      --output string              Output dependency graph ('ascii' or 'json')

Options inherited from parent commands

SEE ALSO

Last updated

Was this helpful?