github.com/uvalib/orcid-access-ws@v0.0.0-20250612130209-7d062dbabf9d/scripts/helpers/version.ksh (about) 1 # 2 # 3 # 4 5 # ensure we have an endpoint 6 if [ -z "$ORCID_ACCESS_URL" ]; then 7 echo "ERROR: ORCID_ACCESS_URL is not defined" 8 exit 1 9 fi 10 11 # issue the command 12 echo "$ORCID_ACCESS_URL" 13 curl $ORCID_ACCESS_URL/version 14 15 exit 0 16 17 # 18 # end of file 19 #