# 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) -


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bluebricks.co/docs/bricks-cli/cli-reference/bricks_updateci.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
