Use keystore.properties file for signing bundles
See original GitHub issueIs your feature request related to a problem? Please describe.
I have a step in my CI build which uses the command build-apks
. In my case these .apk files need to be signed. For this project, we have a file keystore.properties
in a format like this.
With this approach, it is difficult to pass these values to bundletool.
Describe the solution you’d like
I would like to pass a single flag like --keystore-properties=keystore.properties
, to set all of the signing parameters at once.
Describe alternatives you’ve considered
I made a gradle task which extracts the value for each field from keystore.properties
, and saves each property them into a new file. These files are then copied to variables in fastlane, so that they can be passed back to bundletool
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top GitHub Comments
Since this is a new flag, I think that’s fine.
I’m interested in contributing. I have been looking through the code, and I found this note in
BuildApksCommand.java
:So adding a new flag here would mean that bundletool won’t match apksig exactly. What do you think @plecesne?