In jq query, the correct regex to select .id is ".*coreutils[ |@]\\d+\\.\\d+\\.\\d+"
- with cargo v1.76, id = "coreutils 0.0.26 (path+file://<coreutils local directory>)"
- with cargo v1.77, id = "path+file://<coreutils local directory>#coreutils@0.0.26"
Fixuutils/coreutils#6242
Signed-off-by: Laurent Cheylus <foxy@free.fr>
- Use /usr/bin/env bash instead of /bin/sh to define OSTYPE
- Use GNU realpath on BSD OS (FreeBSD and OpenBSD)
Signed-off-by: Laurent Cheylus <foxy@free.fr>