iuk-source-versions: output sorted version numbers

parent 67f56517
......@@ -36,7 +36,7 @@ RELEASING_MAJOR_VERSION=$(major_version "$RELEASING_VERSION")
major_version=$(major_version "$version")
if [ "$major_version" = "$RELEASING_MAJOR_VERSION" ] && \
dpkg --compare-versions "$version" lt "$RELEASING_VERSION" ; then
echo -n "$version "
echo "$version"
fi
done
) | perl -p -E 's{\s*\z}{}'
) | sort -V | xargs | tr -d '\n'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment