Skip to content

Commit

Permalink
fix npm release
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Apr 10, 2024
1 parent 228aa14 commit f5c7b64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/napi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bin/npm/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -12,6 +12,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"@graphql-conductor/lib": "0.0.4-alpha.0"
"@graphql-conductor/lib": "0.0.0-placeholder.0"
}
}
2 changes: 1 addition & 1 deletion libs/napi/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit f5c7b64

Please sign in to comment.