From bdc53ebf747d7ef6ad566b58bb91a46be116f86d Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Thu, 9 Sep 2021 13:03:26 +0200 Subject: [PATCH] Fix version extraction in PR checks (#340) --- scripts/gh-build-crate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gh-build-crate.sh b/scripts/gh-build-crate.sh index d91ec93c..1da364ca 100755 --- a/scripts/gh-build-crate.sh +++ b/scripts/gh-build-crate.sh @@ -47,7 +47,7 @@ for file in $CHANGES; do is_system=false crate=$(basename $file .toml | cut -f1 -d-) - version=$(basename $file .toml | cut -f2 -d-) + version=$(basename $file .toml | cut -f2- -d-) milestone="$crate=$version" echo Testing crate: $milestone # Remember that version can be "external", in which case we do not know the