sign_official_build_with_xelasoft_key.sh 697 B

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. echo "LAB:INFO Signing APK with xelasoft certificate, for publication in keystore"
  3. # Read environment.props (if it exists) to get following two params:
  4. # sdl_android_port_path
  5. # my_home_dir
  6. if [ ! -f environment.props ]; then
  7. echo "LAB:ERROR: No file environment.props in $(pwd)"
  8. exit 1
  9. fi
  10. . ./environment.props
  11. export ANDROID_KEYSTORE_FILE=~awulms/Ontwikkel/android/release_certificate/xelasoft_eu.keystore
  12. export ANDROID_KEYSTORE_ALIAS=xelasoft
  13. if [ ! -f ${ANDROID_KEYSTORE_FILE} ]; then
  14. echo "LAB:ERROR Keystore not found ${ANDROID_KEYSTORE_FILE}"
  15. exit 1
  16. fi
  17. echo "LAB:INFO launching commandergenius sign.sh script"
  18. cd "${sdl_android_port_path}"
  19. ./sign.sh
  20. exit $?