Skip to content

Commit

Permalink
chore(github-actions): adjust indentation for clarity in update_packa…
Browse files Browse the repository at this point in the history
…ge_json_version workflow
  • Loading branch information
rrrodzilla committed Jul 25, 2024
1 parent 3b39fa3 commit 305c35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_package_json_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
new_version="${{ inputs.version }}"
updated_package_json=$(echo "$package_json" | jq --arg new_version "$new_version" '.version = $new_version | .optionalDependencies."paseto_cli-linux-x64" = $new_version | .optionalDependencies."paseto_cli-darwin-x64" = $new_version | .optionalDependencies."paseto_cli-darwin-aarch64" = $new_version | .optionalDependencies."paseto_cli-windows-x64" = $new_version | .scripts.postinstall = "BINARY_DISTRIBUTION_VERSION=\($new_version) node ./install.js"')
# Save the updated package.json content
# Save the updated package.json content
echo "$updated_package_json" > package.json
# Check if changes were made and commit them
Expand Down

0 comments on commit 305c35d

Please sign in to comment.