You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

publish-android-jsc.sh 445B

1234567891011121314151617
  1. #!/bin/bash
  2. CWD=$(dirname $0)
  3. MVN_REPO=$(realpath $1)
  4. JSC_VERSION="r"$(jq -r '.dependencies."jsc-android"' ${CWD}/../../package.json | cut -d . -f 1)
  5. pushd ${CWD}/../../node_modules/jsc-android/dist/org/webkit/android-jsc/${JSC_VERSION}
  6. mvn \
  7. deploy:deploy-file \
  8. -Durl=file://${MVN_REPO} \
  9. -Dfile=android-jsc-${JSC_VERSION}.aar \
  10. -Dpackaging=aar \
  11. -DgeneratePom=false \
  12. -DpomFile=android-jsc-${JSC_VERSION}.pom
  13. popd