diff --git a/.github/workflows/setup/action.yml b/.github/workflows/setup/action.yml index c9416a11f8..fc351241f5 100644 --- a/.github/workflows/setup/action.yml +++ b/.github/workflows/setup/action.yml @@ -35,7 +35,7 @@ runs: shell: bash run: | set -ex - DISSOLVE_VERSION=`grep "#define DISSOLVEVERSION" src/main/version.cpp | sed 's/.*\"\(.*\)\"/\1/g'` + DISSOLVE_VERSION=$(./changeversion -v) echo "Dissolve code version is ${DISSOLVE_VERSION}" DISSOLVE_MAJOR=`echo $DISSOLVE_VERSION | sed "s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/g"` DISSOLVE_MINOR=`echo $DISSOLVE_VERSION | sed "s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/g"`