diff --git a/build-docker.sh b/build-docker.sh index c8fab5e..59010ef 100755 --- a/build-docker.sh +++ b/build-docker.sh @@ -2,7 +2,7 @@ set -eu -version=$( git describe --match v* --abbrev=0 ) +version=$( tools/get-version ) imagename=stowtest image=$imagename:$version diff --git a/test-docker.sh b/test-docker.sh index 81e820e..f10456d 100755 --- a/test-docker.sh +++ b/test-docker.sh @@ -3,6 +3,6 @@ # Test Stow across multiple Perl versions, by executing the # Docker image built via build-docker.sh. -version=$( git describe --match v* --abbrev=0 ) +version=$( tools/get-version ) docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) stowtest:$version