> For the complete documentation index, see [llms.txt](https://docs.uibakery.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uibakery.io/concepts/workspace-management/app-environments/release-management.md).

# Release management

UI Bakery deployment process is pretty straightforward - you just need to click the **Release** button, specify the settings and deploy the app. Here, we'll explore how you can manage your app releases, namely creating *draft releases* and *restoring* a specific release *version*, if needed.

## Creating a draft release

While building your app, you can create draft releases. Draft releases allow you to create versions on the *Dev* environment before introducing some major changes to your application, such as switching data sources or introducing new UI.

The draft release flow is just like the regular deployment flow - simply clear both the *Staging* and *Prod* checkboxes. You will notice the Publish release button changing to **Draft release**.&#x20;

Draft releases are also available in the [**Release history**](#restoring-a-release-version) and can be restored as well.

<figure><img src="/files/5nxwKln11rlbS0m9TMdI" alt=""><figcaption></figcaption></figure>

## Restoring a release version

You can access the **Release history** to view the history of all your app releases. It includes both Stage and Prod releases, as well as Draft releases. From there, you can restore any release if you need to revert back to the previous production version.

### To restore a release version:

1. Click on the **Dashboard** icon in the upper left corner and select **Release history**.
2. In the window that opens, click **Restore** next to the version you want to roll back to.
3. Next, confirm your changes.

That's it! The Restore operation will be also added to the Release history.

{% @arcade/embed flowId="VYl5bq3lnykFnWeOA4jP" url="<https://app.arcade.software/share/VYl5bq3lnykFnWeOA4jP>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.uibakery.io/concepts/workspace-management/app-environments/release-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
