From 83d9c5276f5dafedb49970dbe4c737037ff4d3d1 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 12 Feb 2022 13:16:46 -0300 Subject: [PATCH] Jenkins: Restore library version readme, to be stored in the AppImage filesystem --- .ci/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.ci/build.sh b/.ci/build.sh index 8cebe44ec..f4cf190cb 100644 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -413,6 +413,17 @@ then # TBD : else + # Archive readme with library package versions. + echo Libraries used to compile this $arch build of $project: > archive_tmp/README + dpkg-query -f '${Package} ${Version}\n' -W $libpkgs | sed "s/-dev / /" | sed "s/qtdeclarative/qt/" | while IFS=" " read pkg version + do + for i in $(seq $(expr $longest_libpkg - $(echo -n $pkg | wc -c))) + do + echo -n " " >> archive_tmp/README + done + echo $pkg $version >> archive_tmp/README + done + # Archive icon, while also shrinking it to 512x512 if necessary. convert src/win/assets/$project_lower.png -resize '512x512>' icon.png icon_base="$(identify -format 'archive_tmp/usr/share/icons/%wx%h' icon.png)"