> 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`. |