haveno/apitest/scripts/version-parser.bash

5 lines
206 B
Bash
Executable file

#!/bin/bash
# Bats helper script for parsing current version from Version.java.
export CURRENT_VERSION=$(grep "String VERSION =" common/src/main/java/haveno/common/app/Version.java | sed 's/[^0-9.]*//g')