Skip to content

Instantly share code, notes, and snippets.

@chan-bo
Created March 18, 2019 07:47
Show Gist options
  • Save chan-bo/64828c233d19d4a5260931f55f1e52c6 to your computer and use it in GitHub Desktop.
Save chan-bo/64828c233d19d4a5260931f55f1e52c6 to your computer and use it in GitHub Desktop.
create_keystore_properties: &create_keystore_properties
run:
name: Create keystore.properties
command: printf 'releaseKeyAlias=%s\nreleaseKeyPassword=%s\nreleaseKeyStore=%s\nreleaseStorePassword=%s' \
$RELEASE_KEY_ALIAS $RELEASE_KEY_PASSWORD $RELEASE_KEYSTORE $RELEASE_STORE_PASSWORD > keystore.properties
decode_android_key: &decode_android_key
run:
name: Decode Android key store
command: echo $KEYSTORE | base64 -d | tee keystore app/keystore > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment