Skip to content

Commit 37edea5

Browse files
committed
fix spotiflow extension URL
1 parent fea1615 commit 37edea5

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

biop-catalog-generator.groovy

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,26 @@ var abbaExtension = new Extension(
132132
extensionList.add(abbaExtension)
133133

134134
// spotiflow extension
135-
def spotiflowTagList = ["v0.3.1","v0.2.0"]
135+
136+
// ZIP file
137+
def spotiflowTagList = ["v0.3.1"]
136138
def spotiflowVersionList = []
137139
spotiflowTagList.each{tag->
140+
var spotiflowRelease = new Release(
141+
tag,
142+
new URI(gh_biop_url + "qupath-extension-spotiflow/releases/download/"+tag+"/qupath-extension-spotiflow-"+tag[1..-1]+".zip"),
143+
null,
144+
null,
145+
null,
146+
qupathMinVersionRange
147+
)
148+
149+
spotiflowVersionList.add(spotiflowRelease)
150+
}
151+
152+
// JAR file only
153+
def oldSpotiflowTagList = ["v0.2.0"]
154+
oldSpotiflowTagList.each{tag->
138155
var spotiflowRelease = new Release(
139156
tag,
140157
new URI(gh_biop_url + "qupath-extension-spotiflow/releases/download/"+tag+"/qupath-extension-spotiflow-"+tag[1..-1]+".jar"),

catalog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"releases": [
8585
{
8686
"name": "v0.3.1",
87-
"main_url": "https://github.com/BIOP/qupath-extension-spotiflow/releases/download/v0.3.1/qupath-extension-spotiflow-0.3.1.jar",
87+
"main_url": "https://github.com/BIOP/qupath-extension-spotiflow/releases/download/v0.3.1/qupath-extension-spotiflow-0.3.1.zip",
8888
"required_dependency_urls": [],
8989
"optional_dependency_urls": [],
9090
"javadoc_urls": [],

0 commit comments

Comments
 (0)