diff --git a/.github/workflows/release-mongosh.yml b/.github/workflows/release-mongosh.yml index 0b1ae2292..862bdc293 100644 --- a/.github/workflows/release-mongosh.yml +++ b/.github/workflows/release-mongosh.yml @@ -52,8 +52,7 @@ jobs: env: NPM_TOKEN: ${{ secrets.DEVTOOLSBOT_NPM_TOKEN }} run: | - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc + echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc npm config list echo "Publishing packages as $(npm whoami)" - git update-index --assume-unchanged .npmrc - npm run publish-packages \ No newline at end of file + npm run publish \ No newline at end of file