android13/external/guava/util/deploy_snapshot.sh

17 lines
265 B
Bash
Executable File

#!/bin/bash
# see https://coderwall.com/p/9b_lfq
set -e -u
function mvn_deploy() {
mvn clean source:jar javadoc:jar deploy -DskipTests=true "$@"
}
echo "Publishing Maven snapshot..."
mvn_deploy
mvn_deploy -f android/pom.xml
echo "Maven snapshot published."