File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
function download-nanopub-jar {
6
6
mkdir -p $LIBDIR
7
- echo " Getting latest nanopub version..."
8
- NANOPUB_LATEST_LOCATION=$(
9
- curl --head -s https://github.com/Nanopublication/nanopub-java/releases/latest \
10
- | egrep -i ' ^location:'
11
- )
12
- NANOPUB_VERSION=${NANOPUB_LATEST_LOCATION##* -}
13
- NANOPUB_VERSION=" ${NANOPUB_VERSION% " ${NANOPUB_VERSION##* [![:space:]]} " } "
14
- # NANOPUB_VERSION=1.38
7
+ # echo "Getting latest nanopub version..."
8
+ # NANOPUB_LATEST_LOCATION=$(
9
+ # curl --head -s https://github.com/Nanopublication/nanopub-java/releases/latest \
10
+ # | egrep -i '^location:'
11
+ # )
12
+ # NANOPUB_VERSION=${NANOPUB_LATEST_LOCATION##*-}
13
+ # NANOPUB_VERSION="${NANOPUB_VERSION%"${NANOPUB_VERSION##*[![:space:]]}"}"
14
+ NANOPUB_VERSION=1.47
15
15
echo " Downloading nanopub jar file version $NANOPUB_VERSION in $LIBDIR /nanopub-${NANOPUB_VERSION} -jar-with-dependencies.jar"
16
16
curl -L --output " $LIBDIR /nanopub-${NANOPUB_VERSION} -jar-with-dependencies.jar" " https://github.com/Nanopublication/nanopub-java/releases/download/nanopub-${NANOPUB_VERSION} /nanopub-${NANOPUB_VERSION} -jar-with-dependencies.jar"
17
17
}
You can’t perform that action at this time.
0 commit comments