> 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="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FO4s2kjXoBrab1XorxaCW%2Fimage%20(3)%20(1).png?alt=media&amp;token=98fc990b-4b42-4731-aec6-c4c150155bb6" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
