Releases: bitrise-steplib/steps-sign-apk
2.0.0
Breaking changes and migration
A new step input signer_tool
replaces the previous use_apk_signer
input.
signer_tool
indicates which tool should be used for signing the app, the available options:
automatic
(default value): Uses the apksigner tool to sign an APK and jarsigner tool to sign an AAB file.apksigner
: Uses the apksigner tool to sign the app.jarsigner
: Uses the jarsigner tool to sign the app.
When signing APK files the migrate from:
use_apk_signer: false
issigner_tool: jarsigner
use_apk_signer: true
issigner_tool: automatic
orsigner_tool: apksigner
What's Changed
- Upgrade sample app in E2E tests, update README by @ofalvai in #87
- Replace use_apk_signer with signer_tool step input by @godrei in #88
- Update readme by @godrei in #89
Full Changelog: 1.7.11...2.0.0
1.7.11
1.7.10
What's Changed
- Use SHA256 digests when signing AAB files by @atanas-bitrise in #85
New Contributors
- @atanas-bitrise made their first contribution in #85
Full Changelog: 1.7.9...1.7.10
1.7.9
What's Changed
- [BE-46] Make sure jenv finds at least one valid JAVA installation by @fehersanyi-bitrise in #81
- Remove apk_path required status by @tothszabi in #83
New Contributors
- @fehersanyi-bitrise made their first contribution in #81
- @tothszabi made their first contribution in #83
Full Changelog: 1.7.8...1.7.9
1.7.8
1.7.7
1.7.6
Avoid apk
modification when apksigner
is used
apksigner
tool supports signing an already signed apk
thus removing previously present signature files is no longer necessary. We keep this method for jarsigner
which fails to sign otherwise. Please note that we reverted from zip
to aapt
for these removals which reportedly caused large apk
sizes for several users. As a thumb rule for apk
signing please stick with apksigner
and keep jarsigner for signing aab
archives.
1.7.5
1.7.4
Update Go dependencies to pull the latest version of the go-android package.
Fixes panic: runtime error: invalid memory address or nil pointer dereference
android_home:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1263bc1]
goroutine 1 [running]:
github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/hashicorp/go-version.(*Version).String(0x0, 0xd, 0x0)
/var/folders/2x/0ync949n5sq5111xt4v3gtwh0000gn/T/bitrise-go-toolkit145956757/src/github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/hashicorp/go-version/version.go:307 +0x51
github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/bitrise-tools/go-android/sdk.(*Model).LatestBuildToolsDir(0xc000186270, 0xc00016faf0, 0x100d838, 0x10, 0x12b86a0)
/var/folders/2x/0ync949n5sq5111xt4v3gtwh0000gn/T/bitrise-go-toolkit145956757/src/github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/bitrise-tools/go-android/sdk/sdk.go:67 +0x273
github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/bitrise-tools/go-android/sdk.(*Model).LatestBuildToolPath(0xc000186270, 0x12fef37, 0x4, 0x0, 0x0, 0x1, 0xc0000241d4)
/var/folders/2x/0ync949n5sq5111xt4v3gtwh0000gn/T/bitrise-go-toolkit145956757/src/github.com/bitrise-steplib/steps-sign-apk/vendor/github.com/bitrise-tools/go-android/sdk/sdk.go:76 +0x40
main.main()
/var/folders/2x/0ync949n5sq5111xt4v3gtwh0000gn/T/bitrise-go-toolkit145956757/src/github.com/bitrise-steplib/steps-sign-apk/main.go:368 +0x5e2
1.7.3
Use zip for trimming apk as aapt messes up the archive.