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.

15 lines
310 B

#!/bin/bash
set -eu
if (( $# != 1 )); then
echo "Usage: set_versions.sh <version>" >&2
exit 1
fi
version="$1"
mvn versions:set versions:commit -DnewVersion="${version}-jre"
mvn versions:set versions:commit -DnewVersion="${version}-android" -f android
git commit -am "Set version numbers to ${version}"