Skip to content

Commit

Permalink
fix: use double quotes for sed command in create-release-pr-for-npm a…
Browse files Browse the repository at this point in the history
…ction (#9)
  • Loading branch information
hatajoe authored Dec 27, 2024
1 parent 5944ee7 commit 45cc02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/create-release-pr-for-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
git config --local user.email "${{ inputs.commit-user-email }}"
git config --local user.name "${{ inputs.commit-user-name }}"
git checkout -b release/${{ inputs.tag-prefix }}$VERSION
sed -i 's/"version": ".*"/"version": "$VERSION"/' package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/" package.json
git add package.json
git commit -m "chore: bump version to v$VERSION"
git push origin release/${{ inputs.tag-prefix }}$VERSION
Expand Down

0 comments on commit 45cc02c

Please sign in to comment.