From 0fff9db32efe3bfaeb561843e604024d08cea1b0 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 2 Jul 2020 12:32:50 -0400 Subject: Use better git describe arguments --- test.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test.sh') diff --git a/test.sh b/test.sh index 56f6abb..48216ff 100755 --- a/test.sh +++ b/test.sh @@ -2,11 +2,12 @@ set -o pipefail RTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -test_program=${RTDIR}/splitfits -test_data=${RTDIR}/data +test_program="${RTDIR}/splitfits" +test_program_version="$(git describe --always --tags --long)" +test_data="${RTDIR}/data" test_data_remote=https://nx.astroconda.org/repository test_data_remote_auth=${test_data_remote_auth:-} -test_data_upload=generic/spb-splitfits/$(git describe --always) +test_data_upload="generic/spb-splitfits/${test_program_version}" get_data_exists() { local url -- cgit