• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3set -eu
4
5if (( $# != 1 )); then
6  echo "Usage: set_versions.sh <version>" >&2
7  exit 1
8fi
9
10version="$1"
11
12mvn versions:set versions:commit -DnewVersion="${version}-jre"
13mvn versions:set versions:commit -DnewVersion="${version}-android" -f android
14git commit -am "Set version numbers to ${version}"
15