mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 17:11:14 +00:00
sign bundles with jarsign
This commit is contained in:
parent
0f31212e1c
commit
0a310c9de2
5
ci.py
5
ci.py
|
@ -74,8 +74,7 @@ def sign_apk_fdroid():
|
|||
|
||||
def sign_bundle():
|
||||
podman_offline(f"{CONTAINER_HOME}/src",
|
||||
f"jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore {CONTAINER_HOME}/google-keystore -signedjar {APP_NAME}-{APP_SEMVER}.aab build/app/outputs/bundle/productionRelease/app-production-release.aab google",
|
||||
f"env:STANDALONE_KEYSTORE_PASS standalone_{APP_NAME}-{APP_SEMVER}.apk")
|
||||
f"jarsigner -sigalg SHA256withRSA -digestalg SHA-256 -keystore {CONTAINER_HOME}/google-keystore -signedjar {APP_NAME}-{APP_SEMVER}.aab -storepass:env GOOGLE_KEYSTORE_PASS build/app/outputs/bundle/productionRelease/app-production-release.aab google",
|
||||
|
||||
def package_linux_appimage():
|
||||
podman_online(f"{CONTAINER_HOME}/src", "appimage-builder --recipe appimage.yml")
|
||||
|
@ -149,7 +148,7 @@ elif args.sign_apk_standalone:
|
|||
elif args.sign_apk_fdroid:
|
||||
sign_apk_fdroid()
|
||||
elif args.sign_bundle:
|
||||
sign_sign_bundle()
|
||||
sign_bundle()
|
||||
elif args.package_linux_appimage:
|
||||
package_linux_appimage()
|
||||
elif args.package_linux_flatpak:
|
||||
|
|
Loading…
Reference in a new issue