#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
function usage {
echo >&2
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