diff --git a/.github/workflows/js-sdk.yml b/.github/workflows/js-sdk.yml index 87faeeb9d..4016e3eaa 100644 --- a/.github/workflows/js-sdk.yml +++ b/.github/workflows/js-sdk.yml @@ -40,7 +40,7 @@ jobs: run: npm run ci:build - name: Run Semantic Release 🚀 - run: npm run publish + run: npm run release --ci env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/sdks/js/packages/core/.release-it.json b/sdks/js/packages/core/.release-it.json index 01122e8af..982984764 100644 --- a/sdks/js/packages/core/.release-it.json +++ b/sdks/js/packages/core/.release-it.json @@ -1,8 +1,13 @@ { "git": { + "requireBranch": "main", "commitMessage": "chore: release v${version}" }, "github": { + "tag": false, + "release": false + }, + "npm": { "release": true } } diff --git a/sdks/js/packages/core/package.json b/sdks/js/packages/core/package.json index 661484414..13124bc5f 100644 --- a/sdks/js/packages/core/package.json +++ b/sdks/js/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@raystack/frontier", - "version": "0.7.7", + "version": "0.7.8", "description": "A js library for frontier", "sideEffects": false, "main": "./dist/index.js", @@ -101,4 +101,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/sdks/js/turbo.json b/sdks/js/turbo.json index c63797363..526d5a55d 100644 --- a/sdks/js/turbo.json +++ b/sdks/js/turbo.json @@ -11,7 +11,7 @@ "clean": { "dependsOn": ["^clean"] }, - "publish": { + "release": { "dependsOn": ["^build"] }, "dev": {