aboutsummaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh7
1 files changed, 4 insertions, 3 deletions
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