> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: release

## Article: release

## Article Link: https://dev.wix.com/docs/wix-cli/cli-for-headless/command-reference/project-commands/release.md

## Article Content:

# wix release

Releases your project. The command first uploads your build output to Wix's servers as a preview, and then releases your project from that preview. Releasing also publishes the project's site, and the CLI displays the site's URL once complete.

> **Notes:**
>
> - This command uploads your project's build output, so you must run the [`build`](https://dev.wix.com/docs/wix-cli/cli-for-headless/command-reference/project-commands/build.md) command after every change you want to release. In a project created with [`create init`](https://dev.wix.com/docs/wix-cli/cli-for-headless/command-reference/project-creation-commands/create-init.md), the CLI has no `build` command, and this command uploads your build output from the directory set in `site.outputDirectory`.
> - A release can include at most 5,000 static files.

<blockquote class="tip">

**Tip:** Releasing a [headless](https://dev.wix.com/docs/go-headless.md) site clears its entire cache, so visitors get the latest version. If you've released an update but still see outdated content, run `wix release` again to clear the cache.

</blockquote>

## Usage

```bash
wix release [flags]
```

## Flags

The following flags are available for the `wix release` command:

| Flag           | Alias     | Description                             |
| -------------- | --------- | --------------------------------------- |
| `--comment <comment>`  | `-c <comment>` | The comment for your release version, for your own reference. Up to 250 characters. |
| `--version-type <type>`  | `-t <type>` | The type of version to create. <br><br> Accepted values for `<type>`: `major`, `minor`. |