Skip to content

Releases: bitrise-steplib/steps-sign-apk

2.0.0

02 Oct 08:04
4a34c1b
Compare
Choose a tag to compare

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 is signer_tool: jarsigner
  • use_apk_signer: true is signer_tool: automatic or signer_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

15 Jul 14:48
a4c00f3
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.7.10...1.7.11

1.7.10

29 Nov 10:40
8c96369
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.9...1.7.10

1.7.9

26 Aug 13:52
9962288
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.7.8...1.7.9

1.7.8

07 Jun 18:15
845c384
Compare
Choose a tag to compare

What's Changed

  • Return correct errors when parsing APK by @hisaac in #79

New Contributors

Full Changelog: 1.7.7...1.7.8

1.7.7

23 Feb 08:21
a7fb150
Compare
Choose a tag to compare

What's Changed

  • [#78] Improve error messages

Full Changelog: 1.7.6...1.7.7

1.7.6

05 Aug 09:28
ebfd11b
Compare
Choose a tag to compare

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

04 May 11:56
c4490a0
Compare
Choose a tag to compare

Added missing error handling.
Updated dependencies.

1.7.4

02 Mar 08:13
0895f16
Compare
Choose a tag to compare

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

04 Jan 10:42
2b1d206
Compare
Choose a tag to compare

Use zip for trimming apk as aapt messes up the archive.