diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index f113f9e..eed9d39 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -40,6 +40,6 @@ jobs: node-version: 18 registry-url: https://npm.pkg.github.com/ - run: npm ci - - run: npm publish + - run: npm publish --tag latest env: NODE_AUTH_TOKEN: ${{secrets.PKG_TOKEN}} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a2af812..509f154 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -37,6 +37,6 @@ jobs: node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npm publish --tag latest --access public env: NODE_AUTH_TOKEN: ${{secrets.TYPES_GENERATOR_AUTOMATION}} diff --git a/package.json b/package.json index a686ce2..f30d9a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/types-generator", - "version": "1.0.1", + "version": "1.0.2", "description": "Contentstack type definition generation library", "private": false, "author": "Contentstack",