diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-02 12:32:50 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-07-02 14:46:31 -0400 |
commit | 0fff9db32efe3bfaeb561843e604024d08cea1b0 (patch) | |
tree | e1ad374576e61b8cffae4b96b07bb1784e90d91b /test.sh | |
parent | 675e46d1f1ff672ebe6f8903f4b249db2456ede4 (diff) | |
download | splitfits-0fff9db32efe3bfaeb561843e604024d08cea1b0.tar.gz |
Use better git describe arguments
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 |