Skip to content

Commit

Permalink
fix package.json version writing in bump workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed Jul 2, 2024
1 parent d78a1dd commit dda17e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
# find all package.json files, recursively
pkgJsons=$(find . -name package.json -prune -not -path '*/node_modules/*' -not -path '*/.next/*')
# replace the version in all package.json files
xargs -I % sh -c "cat % | jq '.version = \"${{ github.event.inputs.version }}\"' > %" <<< "$pkgJsons"
xargs -I % sh -c "cat % | jq '.version = \"${{ github.event.inputs.version }}\"' > %.new && mv %.new %" <<< "$pkgJsons"
# find all Cargo.toml files
cargoTomls=$(find . -name Cargo.toml -prune -not -path '*/protocol/cargo-cache/*')
Expand Down

0 comments on commit dda17e0

Please sign in to comment.