diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7f7076667..e1d8b85a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,7 +47,7 @@ jobs: if: ${{ !inputs.dry-run }} id: package-info run: | - sed "s/\"version\": \"\(.*\)\"/\"version\": \"${{ inputs.increment }}\"/g" package.json > tmp + sed "s/\"agora-electron-sdk\": \"\(.*\)\"/\"agora-electron-sdk\": \"${{ inputs.increment }}\"/g" package.json > tmp mv tmp package.json working-directory: example