diff --git a/showvers.sh b/showvers.sh new file mode 100644 index 0000000..6ae8fc5 --- /dev/null +++ b/showvers.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +set -e + +TUPLE=$(go version | perl -lane 'print $F[-1] =~ s,/,-,r') + +for APP in dcrd dcrctl dcrwallet dexc dexcctl dcrlncli dcrlnd dexc-tray dexcctl politeiavoter; do + APP="./bin/${TUPLE}/${APP}" + [ -x "${APP}" ] && "${APP}" --version || echo "WARNING: ${APP} is not built" +done