-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove dry-run * add reports.sh * add line breaks * add pkdiff steps * use npx * add shell * fix typo * remove bash * use | * use node 16 * remove npx * add shell * add newline * use variable * report (singular) * upload-artifact (singular)
- Loading branch information
1 parent
d9462c8
commit 0e5aa50
Showing
3 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -x | ||
set -e | ||
set -o pipefail | ||
|
||
directory="/tmp" | ||
|
||
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" \ | ||
--no-exit-code \ | ||
--no-open \ | ||
--output "$directory/$basename.html" | ||
fi | ||
done |