cat<<F>__/_.txt
,
F
android update project --name <project_name> --path <path_to_your_project>
ant release
key.store=/Path/to/my/keystore/MyKeystore.ks
key.alias=myalias
cat<<F >_/local.properties
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/__sdk/Android-sdk
key.store=/Path/to/my/keystore/MyKeystore.ks
key.alias=myalias
F
cat<<F >__/_.txt
,
F
android update project --name <project_name> --path <path_to_your_project>
cat<<F>_/local.properties
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.
# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=/__sdk/Android-sdk
key.store=/Path/to/my/keystore/MyKeystore.ks
key.alias=myalias
F
ant release
Source: https://habr.com/ru/post/122528/