Document the new SDL3 Android archive artifact

This commit is contained in:
Anonymous Maarten 2024-08-01 17:39:42 +02:00 committed by Anonymous Maarten
parent 808c312b2a
commit 349540f73f
5 changed files with 113 additions and 4 deletions

View file

@ -609,6 +609,10 @@ class Releaser:
aar_path = self.dist_path / f"{self.project}-{self.version}.aar"
added_global_files = False
with zipfile.ZipFile(aar_path, "w", compression=zipfile.ZIP_DEFLATED) as zip_object:
install_txt = (self.root / "build-scripts/pkg-support/android/INSTALL.md.in").read_text()
install_txt = install_txt.replace("@PROJECT_VERSION@", self.version)
install_txt = install_txt.replace("@PROJECT_NAME@", self.project)
zip_object.writestr("INSTALL.md", install_txt)
project_description = {
"name": self.project,
"version": self.version,