Chore: fixes detect breaking changes script on new packages

This commit is contained in:
Hugo Häggmark
2025-09-11 09:00:37 +02:00
parent 9259979278
commit d5fdcad0b4
+5
View File
@@ -34,6 +34,11 @@ while IFS=" " read -r -a package; do
continue
fi
# Skip packages that don't exist in the base (packages introduced in PR)
if [[ ! -f "./base/@$PACKAGE_PATH.tgz" ]]; then
continue
fi
# Extract the npm package tarballs into separate directories e.g. ./base/@grafana-data.tgz -> ./base/grafana-data/
mkdir "$PREV"
tar -xf "./base/@$PACKAGE_PATH.tgz" --strip-components=1 -C "$PREV"