Skip to content

Commit aadd39f

Browse files
authored
Merge pull request #165 from vemonet/fix-nanopub-jar-version
Fix nanopub-java version to 1.47
2 parents f0fba19 + b8cecc9 commit aadd39f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

scripts/nanopub-java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ set -e
44

55
function download-nanopub-jar {
66
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
1515
echo "Downloading nanopub jar file version $NANOPUB_VERSION in $LIBDIR/nanopub-${NANOPUB_VERSION}-jar-with-dependencies.jar"
1616
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"
1717
}

0 commit comments

Comments
 (0)