Skip to content

Commit

Permalink
Add stat debug to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Oct 2, 2024
1 parent 71abba9 commit 61c1366
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ jobs:
pkgJsons=$(find "${{ github.workspace }}" -type f -name "package.json" -not -path "**/node_modules/**" -not -path "**/.next/**" | xargs -I "{}" echo {} | sed s/\"//g)
echo $pkgJsons
# get the package "name" out of each pkgJson
pkgNames=$(echo $pkgJsons | xargs -I "{}" cat "{}" | jq -r ".name")
echo $(echo $pkgJsons | xargs -I "{}" stat {})
pkgNames=$(echo $pkgJsons | xargs -I "{}" cat {} | jq -r ".name")
echo $pkgNames
while IFS= read -r pkgJson; do
echo "Bumping version in $pkgJson"
Expand Down

0 comments on commit 61c1366

Please sign in to comment.