From 5cc718ef301bde9ad6d851169dd100e769dcbb32 Mon Sep 17 00:00:00 2001 From: erosert Date: Wed, 10 Jun 2020 14:16:27 +0200 Subject: [PATCH] fixed env for python version --- hooks/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/env b/hooks/env index 281bc9d..a0b12a2 100755 --- a/hooks/env +++ b/hooks/env @@ -7,7 +7,7 @@ [ -n "$DOCKER_REPO" ] || DOCKER_REPO=deutscherwetterdienst/python-eccodes [ -n "$ECBUILD_VERSION" ] || ECBUILD_VERSION="3.3.2" [ -n "$ECCODES_VERSION" ] || ECCODES_VERSION="2.17.1" -[ -n "$PYTHON_VERSION" ] || ECCODES_VERSION="3.7.7" +[ -n "$PYTHON_VERSION" ] || PYTHON_VERSION="3.7.7" [ -n "$SOURCE_BRANCH" ] || SOURCE_BRANCH=$(git symbolic-ref -q --short HEAD) if [[ "${SOURCE_BRANCH/-*/}" =~ ^[0-9][0-9.]*$ ]]; then