Skip to content

Commit

Permalink
Simplify script
Browse files Browse the repository at this point in the history
Signed-off-by: Filippo Costa <[email protected]>
  • Loading branch information
neysofu committed Sep 13, 2023
1 parent 148e96a commit 1839049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/validate_packages_to_publish_yml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ set -Euo pipefail
releasable_packages=$(cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.publish == null) | .name')

echo "Releasable packages according to cargo-metadata:"
echo "$releasable_packages" | sed 's/^/ - /'
echo "$releasable_packages" | sed 's/^/- /'
echo ""

echo "Releasable packages according to packages_to_publish.yml:"
yq '.[]' packages_to_publish.yml | sed 's/^/ - /'
cat packages_to_publish.yml
echo ""

echo "Validating packages_to_publish.yml..."
Expand Down

0 comments on commit 1839049

Please sign in to comment.