Skip to content

Add Flutter Controller Android release APK job - #553

Merged
thias15 merged 3 commits into
ob-f:masterfrom
3dwesupport:flutter-controller-release
Oct 18, 2026
Merged

thias15 merged 3 commits into
ob-f:masterfrom
3dwesupport:flutter-controller-release

Conversation

@hardikgarg02

@hardikgarg02 hardikgarg02 commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the Flutter controller APK to the release workflow. Each published release now uploads Flutter-Controller-<version>.apk alongside the native OpenBot and Controller APKs.

Changes

  • releases.yml: new parallel job that builds a signed flutter build apk --release (Flutter 3.35.1) and uploads it with gh release upload --clobber.
  • Signing uses the existing keystore secrets, and key.properties is generated at runtime.
  • Native job unchanged.

@hardikgarg02
hardikgarg02 requested a review from thias15 October 12, 2026 09:49
@thias15

thias15 commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Thanks! For the next release, let’s replace the legacy controller APK with the Flutter controller and publish it as Controller-<version>.apk. Please stop building and publishing the legacy controller APK in this workflow; we can remove its source in a separate PR.

Could you also derive --build-name and --build-number from the release tag? Currently every build uses 1.0.0+1 from pubspec.yaml. Using major * 10000 + minor * 100 + patch would keep versioning aligned with the robot app.

Since the package IDs differ, please update the installation instructions to explain that existing users need to install the new controller separately.

@harishthakur52
harishthakur52 force-pushed the flutter-controller-release branch from bf98918 to d36eb5a Compare October 16, 2026 10:45
@harishthakur52

Copy link
Copy Markdown
Contributor

Thanks! For the next release, let’s replace the legacy controller APK with the Flutter controller and publish it as Controller-<version>.apk. Please stop building and publishing the legacy controller APK in this workflow; we can remove its source in a separate PR.

Could you also derive --build-name and --build-number from the release tag? Currently every build uses 1.0.0+1 from pubspec.yaml. Using major * 10000 + minor * 100 + patch would keep versioning aligned with the robot app.

Since the package IDs differ, please update the installation instructions to explain that existing users need to install the new controller separately.

Thank you for the review! I've made the changes:

  • Legacy controller APK removed; Flutter controller is now published as Controller-.apk.
  • Build name and number now come from the release tag (major * 10000 + minor * 100 + patch).
  • READMEs now tell existing users to install the new controller separately.

Add --clobber to both release asset uploads so re-running a release
workflow replaces existing APKs instead of failing.

Add the Flutter controller install note and the legacy-controller
notice to the de-DE, es-ES, fr-FR, ko-KR and zh-CN READMEs.
@thias15
thias15 merged commit ab63b99 into ob-f:master Oct 18, 2026
3 checks passed
@hardikgarg02
hardikgarg02 deleted the flutter-controller-release branch November 20, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants