Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logic to upload the Godot Android library to MavenCentral #78

Merged

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Mar 6, 2023

Note: Should be merged alongside godotengine/godot#74569

3.x version

@m4gr3d
Copy link
Contributor Author

m4gr3d commented Apr 28, 2023

@akien-mga Per our discussion, I've updated the MavenCentral logic to separate the upload and release steps.

@m4gr3d m4gr3d force-pushed the add_logic_to_upload_to_maven_central branch from 135f1b9 to ccee0ad Compare May 16, 2023 15:08
@akien-mga
Copy link
Member

I pushed a separate commit with the same changes as I've amended into #79 for 3.x.

I kept it separate for now to allow proper review, then I'll squash and amend the commit log as done for 3.x.

@akien-mga akien-mga force-pushed the add_logic_to_upload_to_maven_central branch from 9cb3231 to d266a51 Compare May 24, 2023 14:00
build-android/build.sh Outdated Show resolved Hide resolved
Add environment variables to sign the release build for the Godot
Android editor and to publish the library to MavenCentral.
If the environment vars are not defined, we do a simple unsigned
`release_debug` build for the Android editor.

Change `config.sh.in` template to use single quotes by default, to
prevent expanding special characters in environment variables.

To publish to MavenCentral, a new `build-android/upload-mavencentral.sh`
script is added. It needs to run after the build using gradle, but we
still want it to be optional and used only when making an official
release, so we copy the compiled sources in the first step.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
@akien-mga akien-mga force-pushed the add_logic_to_upload_to_maven_central branch from d266a51 to 0780ea4 Compare May 25, 2023 07:29
@akien-mga akien-mga merged commit 80ea8aa into godotengine:main May 25, 2023
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the add_logic_to_upload_to_maven_central branch May 25, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants