Files

7 lines
200 B
Bash
Executable File

export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|| git symbolic-ref --short -q HEAD \
|| git rev-parse --short HEAD)
echo "Building $VERSION..."
./gradlew -Pversion=$VERSION jar