Skip to content

Commit fa5b3fd

Browse files
committed
Only use Neo4j major version number for open GDS release artifact name
1 parent 981d2a7 commit fa5b3fd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

scripts/setupNeo4j.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,7 @@ fi
195195
# Download and install the Neo4j plugin "Graph Data Science" (GDS)
196196
if [[ ${NEO4J_GDS_PLUGIN_EDITION} == "open" ]]; then
197197
neo4jGraphDataScienceDownloadUrl="https://github.com/JohT/open-graph-data-science-packaging/releases/download/v${NEO4J_OPEN_GDS_PLUGIN_VERSION}"
198-
# TODO Maybe it would be a better solution to release open graph data science packages just with the major release version
199-
if [[ "$NEO4J_MAJOR_VERSION_NUMBER" -ge 5 ]]; then
200-
neo4jGraphDataScienceNeo4jVersion="5.9.0"
201-
else
202-
neo4jGraphDataScienceNeo4jVersion="4.4.23"
203-
fi
204-
neo4jGraphDataScienceReleaseArtifact="open-graph-data-science-${NEO4J_OPEN_GDS_PLUGIN_VERSION}-for-neo4j-${neo4jGraphDataScienceNeo4jVersion}.jar"
198+
neo4jGraphDataScienceReleaseArtifact="open-graph-data-science-${NEO4J_OPEN_GDS_PLUGIN_VERSION}-for-neo4j-${NEO4J_MAJOR_VERSION_NUMBER}.jar"
205199
else
206200
neo4jGraphDataScienceDownloadUrl="https://github.com/neo4j/graph-data-science/releases/download/${NEO4J_GDS_PLUGIN_VERSION}"
207201
neo4jGraphDataScienceReleaseArtifact="neo4j-graph-data-science-${NEO4J_GDS_PLUGIN_VERSION}-${NEO4J_GDS_PLUGIN_EDITION}.jar"

0 commit comments

Comments
 (0)