Fix test_with_arvbox checkout by tag no issue #
[arvados.git] / sdk / cwl / test_with_arvbox.sh
index ec6f02f7ac6aba5759cb235f41d173cfbab16604..c7d9952ff02b02babb0f98784db4d0443c077bf7 100755 (executable)
@@ -116,9 +116,9 @@ elif [[ "$suite" =~ conformance-(.*) ]] ; then
    version=\${BASH_REMATCH[1]}
    if ! test -d cwl-\${version} ; then
      git clone https://github.com/common-workflow-language/cwl-\${version}.git
-     git checkout \${version}.0
    fi
    cd cwl-\${version}
+   git checkout \${version}.0
 elif [[ "$suite" != "integration" ]] ; then
    echo "ERROR: unknown suite '$suite'"
    exit 1