Fix feature file fetching (#2077)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>pull/2109/head
parent
e5348cfe49
commit
31c38a8ade
|
@ -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..."
|
echo_process "Fetching feature.xml file from the snapshot repository..."
|
||||||
# Getting all possibly relevant xml files
|
# 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
|
# 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.... "
|
echo_process "Running Maven.... "
|
||||||
mvn clean
|
mvn clean
|
||||||
|
|
Loading…
Reference in New Issue