From ee57b1abc60844c1c5bacb8e92b5a28fdb189fc6 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Fri, 28 Jun 2019 17:08:48 +0100 Subject: [PATCH] Make docker scripts use get-version --- build-docker.sh | 2 +- test-docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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