Merge branch '10346-rearrange-api-docs' closes #10346
[arvados.git] / build / run-build-docker-jobs-image.sh
index 1519e795a4dffe20a828528efe946d4b5d926e10..556ac4ea194755deee1de8f8a98001cf2ae571b5 100755 (executable)
@@ -123,9 +123,9 @@ cwl_runner_version=$(cd sdk/cwl && nohash_version_from_git 1.0)-3
 
 if [[ $python_sdk_ts -gt $cwl_runner_ts ]]; then
     cwl_runner_version=$(cd sdk/python && nohash_version_from_git 1.0)-3
-    gittag=$(cd sdk/python && git log --first-parent --max-count=1 --format=format:%H)
+    gittag=$(git log --first-parent --max-count=1 --format=format:%H sdk/python)
 else
-    gittag=$(cd sdk/cwl && git log --first-parent --max-count=1 --format=format:%H)
+    gittag=$(git log --first-parent --max-count=1 --format=format:%H sdk/cwl)
 fi
 
 echo cwl_runner_version $cwl_runner_version python_sdk_version $python_sdk_version