Skip to content

Commit

Permalink
ci: change git commit strategy for npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Oct 28, 2021
1 parent 529b105 commit c1ad753
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/npm_publish_grpc_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:
cat <<< $(jq '.version = (env.RELEASE_VERSION | sub("(^refs/tags/v)|(^v)"; ""))' package.json) > package.json
env:
RELEASE_VERSION: ${{ github.event.inputs.version || github.ref }}
- uses: EndBug/add-and-commit@v7
with:
branch: master
add: package.json
author_name: zepatrik
author_email: zepatrik@users.noreply.github.com
cwd: proto
message: 'autogen: bump node gRPC client version'
- run: |-
git config --local user.email "zepatrik@users.noreply.github.com"
git config --local user.name "zepatrik"
git add proto/package.json
git commit -m "autogen: bump node gRPC client version"
- run: |-
cd proto
npm publish --access public
Expand Down

0 comments on commit c1ad753

Please sign in to comment.