Skip to content

Commit 7074595

Browse files
authored
record the version
1 parent 5860e13 commit 7074595

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jenkins.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ EOF
8383
fi
8484
if [[ "$version" = "v1.0" ]] && [[ "$CONTAINER" = "docker" ]] && [ $PYTHON_VERSION -eq 3 ]
8585
then
86-
tool_ver=master
87-
badgedir=conformance/cwltool/cwl_${version}/cwltool_${tool_ver}
86+
tool_ver=$(cwltool --version | awk '{ print $2 }')
87+
badgedir=${PWD}/conformance/cwltool/cwl_${version}/cwltool_${tool_ver}
8888
mkdir -p "$badgedir"
8989
BADGE=" --badgedir=${badgedir}"
9090
fi

0 commit comments

Comments
 (0)