# so we replaces spaces with "\n" signs again so it works properly. # Unity environment variables replace the "\n" signs from the private key with spaces for some reason, PACKAGE_NAME=$(cat "$WORKSPACE/build.json" | jq -j '.bundleid') # You can also just hardcode your package name, e.g. # $PLAYSTORE_KEY - The JSON file with the credentials for the Google Developer account # it in the environment variable PLAYSTORE_KEY in the Unity build config. # Passed in as environment variables from CI, you must get this from Google and put Now it's literally a 4 line script (minus comments), here it is: #!/bin/bash Used to have a ridiculously complicated bash script for this, until I realized that fastlane is installed, and you can easily use it in a bash script in the post build event. This is an old question, but still very valid.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |