# 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

```
      --api-key string    API key for authentication (overrides JWT)
      --config string     config file (default is $HOME/.bricks/config.yaml)
  -h, --help              Print Help message for Bricks CLI
      --non-interactive   Suppresses interactive UI elements for non-interactive environments
  -v, --version           Print bricks CLI version
```

## SEE ALSO

* [bricks](https://github.com/bluebricks-dev/Bluebricks-Documentation/blob/main/cli-reference/bricks.md) -
