diff options
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |