1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

[releng] Sort output in compare and replace report

Also-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: I0345c363a1f9c23c608e3b3765ca91dffa82077a
This commit is contained in:
Jonah Graham 2020-11-11 20:22:15 -05:00
parent 8b391a7f3a
commit a5423f5cd6

View file

@ -67,7 +67,7 @@ if ${MVN:-mvn} \
-P baseline-compare-and-replace >${logfile} 2>&1; then -P baseline-compare-and-replace >${logfile} 2>&1; then
echo "Maven check all versions have been bumped appropriately appears to have completed successfully" echo "Maven check all versions have been bumped appropriately appears to have completed successfully"
else else
bundles_only_qualifier_changed=$(grep "Only qualifier changed" ${logfile} | sed -e 's/^.*Only qualifier changed for .//' -e 's@/.*@@') bundles_only_qualifier_changed=$(grep "Only qualifier changed" ${logfile} | sed -e 's/^.*Only qualifier changed for .//' -e 's@/.*@@' | sort)
if [ -n "$bundles_only_qualifier_changed" ]; then if [ -n "$bundles_only_qualifier_changed" ]; then
echo "The following bundles are missing a service segment version bump:" echo "The following bundles are missing a service segment version bump:"
for bundle in $bundles_only_qualifier_changed; do for bundle in $bundles_only_qualifier_changed; do
@ -79,7 +79,7 @@ else
echo echo
fi fi
bundles_same_version_different_content=$(grep "baseline and build artifacts have same version but different contents" ${logfile} | sed -e 's/^.* on project //' -e 's@: baseline.*@@') bundles_same_version_different_content=$(grep "baseline and build artifacts have same version but different contents" ${logfile} | sed -e 's/^.* on project //' -e 's@: baseline.*@@' | sort)
if [ -n "$bundles_same_version_different_content" ]; then if [ -n "$bundles_same_version_different_content" ]; then
echo "The following bundles have same version as baseline, but different contents:" echo "The following bundles have same version as baseline, but different contents:"
for bundle in $bundles_same_version_different_content; do for bundle in $bundles_same_version_different_content; do