Skip to content

Commit

Permalink
Fix report script when publishing package with dash in organisation n…
Browse files Browse the repository at this point in the history
…ame (#85)
  • Loading branch information
Mrtenz authored May 15, 2024
1 parent 11f5dbb commit 3dfa459
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ for file in "$directory"/*.tgz; do
if [ -f "$file" ]; then
echo "Processing $file"
basename=$(basename "$file")
name="${basename%-*}"
name_with_slash="${name/-//}"
echo "$name_with_slash"
pkdiff "$name_with_slash@latest" "$file" \
name="$(tar -O -zxf "$file" package/package.json | jq --raw-output .name)"
echo "$name"
pkdiff "$name@latest" "$file" \
--no-exit-code \
--no-open \
--output "$directory/$basename.html"
Expand Down

0 comments on commit 3dfa459

Please sign in to comment.