haveno/apitest/scripts/version-parser.bash
2021-05-04 20:20:01 -04:00

6 lines
204 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/bisq/common/app/Version.java | sed 's/[^0-9.]*//g')