dfhack/travis/get-df-version.sh

5 lines
107 B
Bash

2018-02-03 21:01:15 -07:00
#!/bin/sh
cd "$(dirname "$0")"
cd ..
grep DF_VERSION CMakeLists.txt | perl -ne 'print "$&\n" if /[\d\.]+/'