Fix feature file fetching (#2077)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/2109/head
Jerome Luckenbach 2023-05-07 19:50:34 +02:00 committed by GitHub
parent e5348cfe49
commit 31c38a8ade
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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