Android-Password-Store/release/signing-setup.sh
Harsh Shandilya e61551bf37
Setup snapshot deployment (#599)
* Setup snapshot deployment

* README: Update repository links

* README: Update workflow badge link

* README: Add link to Snapshot builds

* Fix snapshot/pull-request build conflict

* Deploy from feature/deploy-snapshots as well

* Revert "Deploy from feature/deploy-snapshots as well"

Confirmed it works well

This reverts commit 06f6bc0e8c.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16 03:19:18 +05:30

14 lines
388 B
Bash
Executable file

#!/usr/bin/env bash
ENCRYPT_KEY=$1
if [[ -n "$ENCRYPT_KEY" ]]; then
# Decrypt Release key
openssl enc -aes-256-cbc -md sha256 -d -in release/keystore.cipher -out keystore.jks -k "${ENCRYPT_KEY}"
# Decrypt signing config
openssl enc -aes-256-cbc -md sha256 -d -in release/props.cipher -out keystore.properties -k "${ENCRYPT_KEY}"
else
echo "ENCRYPT_KEY is empty"
fi