aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 12:32:50 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 14:46:31 -0400
commit0fff9db32efe3bfaeb561843e604024d08cea1b0 (patch)
treee1ad374576e61b8cffae4b96b07bb1784e90d91b
parent675e46d1f1ff672ebe6f8903f4b249db2456ede4 (diff)
downloadsplitfits-0fff9db32efe3bfaeb561843e604024d08cea1b0.tar.gz
Use better git describe arguments
-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