diff --git a/.github/workflows/napi-release.yaml b/.github/workflows/napi-release.yaml index 5d5d2726..11e73882 100644 --- a/.github/workflows/napi-release.yaml +++ b/.github/workflows/napi-release.yaml @@ -154,6 +154,8 @@ jobs: - name: publish bin working-directory: bin/npm run: | + TAG_NAME=${GITHUB_REF#refs/tags/} + npm install --save-exact @graphql-conductor/lib@$TAG_NAME npm config set provenance true echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc npm publish --access public diff --git a/bin/npm/package.json b/bin/npm/package.json index 7ffd15b3..242fb20f 100644 --- a/bin/npm/package.json +++ b/bin/npm/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-conductor/bin", - "version": "0.0.4-alpha.0", + "version": "0.0.0-placeholder.0", "description": "", "main": "index.js", "bin": { @@ -12,6 +12,6 @@ "author": "", "license": "ISC", "dependencies": { - "@graphql-conductor/lib": "0.0.4-alpha.0" + "@graphql-conductor/lib": "0.0.0-placeholder.0" } } diff --git a/libs/napi/package.json b/libs/napi/package.json index 44b272b6..9ffc4849 100644 --- a/libs/napi/package.json +++ b/libs/napi/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-conductor/lib", - "version": "0.0.4-alpha.0", + "version": "0.0.0-placeholder.0", "main": "artifacts/index.js", "types": "artifacts/index.d.ts", "napi": {