diff --git a/update-external-resources.sh b/update-external-resources.sh index d8a66bf67..01adab9ef 100755 --- a/update-external-resources.sh +++ b/update-external-resources.sh @@ -66,9 +66,9 @@ cp $resourcefolder/openhab-addons/bundles/org.openhab.binding.zigbee/org.openhab echo_process "Fetching feature.xml file from the snapshot repository..." # Getting all possibly relevant xml files -wget -r -l 2 -npdH -A '*3.0.*.xml' -P "$resourcefolder/jfrog-files" "https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/distro/openhab-addons/" +wget -r -l 2 -npdH -A '*features.xml' -P "$resourcefolder/jfrog-files" "https://openhab.jfrog.io/openhab/libs-snapshot/org/openhab/distro/openhab-addons/" # Copy the latest feature file into the finally used feature.xml -cp `ls .external-resources/jfrog-files/openhab-addons-3.0.*-features.xml | sort | tail -1` .external-resources/jfrog-files/feature.xml +cp `ls .external-resources/jfrog-files/openhab-addons-*-features.xml | sort | tail -1` .external-resources/jfrog-files/feature.xml echo_process "Running Maven.... " mvn clean