# 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: 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://docs.uibakery.io/concepts/workspace-management/app-environments/release-management.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.
