> For the complete documentation index, see [llms.txt](https://docs.novaflowos.com/start/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novaflowos.com/start/kde-developer-platform/readme/packaging/android/googleplay/releasing-old-apps.md).

# Releasing new versions of old apps

Here you learn how to publish new releases of applications on Google Play that have previously been published on Google Play by uploading APKs. New applications must be published as Android App Bundles (AABs).

### Adding the GitLab Job for submitting APKs to Google Play

To configure the CI/CD pipeline of your application in KDE's GitLab, so that it submits APKs built by the pipeline to Google Play, we add the template `/gitlab-templates/craft-android-qt6-googleplay-apks.yml` to the `.gitlab-ci.yml` file in the latest release branch (e.g. branches/24.02) of your application:

```yml
include:
  - project: sysadmin/ci-utilities
    file:
      - /gitlab-templates/craft-android-qt6-apks.yml
      - /gitlab-templates/craft-android-qt6-googleplay-apks.yml
```

This template adds one job to the CI/CD pipeline of your application:

* `googleplay_apks_qt66` which publishes the APKs as new (draft) beta release of your app on Google Play. (This job is only added for pipelines on mainline branches of mainline repositories. In particular, you won't see it in a merge request pipeline.)

When we now run a CI/CD pipeline for your app on the latest branch then the job will log something like this:

> Branch 'release/24.02' of project '*your\_app*' is not cleared for publishing. Skipping.

Continue with the page on \[publishing a release of your application on Google Play]\({{< ref "publishing" >}}) to learn how to clear the 24.02 branch of your application for publishing on Google Play.

{% hint style="info" %}
Note If the application you want to publish on Google Play is based on Qt 5 then include the template \`/gitlab-templates/craft-android-qt5-googleplay-apks.yml\`.

See the [documentation of our CI/CD pipelines](https://invent.kde.org/sysadmin/ci-utilities/-/tree/master/gitlab-templates?ref_type=heads#our-gitlab-cicd-pipelines) for more information about the available CI/CD job templates.
{% endhint %}


---

# 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.novaflowos.com/start/kde-developer-platform/readme/packaging/android/googleplay/releasing-old-apps.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.
