diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 5609707..3ffc6bf 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -19,7 +19,6 @@ jobs: - run: | PACKAGE_VERSION=`npm version | sed -rn "2 s/.*: '([^']*)'.*/\1/g; 2 p"` TAG=`echo "$GITHUB_REF"| sed -r "s#.*/##g"` - exit 0 # TODO: Remove echo '$GITHUB_REF' = "$GITHUB_REF" echo '$PACKAGE_VERSION' = "$PACKAGE_VERSION" if [ "$GITHUB_REF" = "v$PACKAGE_VERSION" ] @@ -30,6 +29,6 @@ jobs: exit 1 fi - run: npm ci - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 63588bb..3ba5eea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hasura/ndc-sdk-typescript", - "version": "1.2.0", + "version": "1.2.1", "description": "", "main": "./dist/index.js", "types": "./dist/index.d.ts",