From 2c8c9ac1ab6118e8b8159e22f9f191ba2eb54b27 Mon Sep 17 00:00:00 2001 From: Praveen Yadav Date: Wed, 4 Oct 2023 10:37:19 +0530 Subject: [PATCH] chore: release v0.7.8 --- .github/workflows/js-sdk.yml | 10 +++++++++- sdks/js/packages/core/.release-it.json | 7 ++++++- sdks/js/packages/core/package.json | 4 ++-- sdks/js/turbo.json | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/js-sdk.yml b/.github/workflows/js-sdk.yml index 87faeeb9d..bef5b9d56 100644 --- a/.github/workflows/js-sdk.yml +++ b/.github/workflows/js-sdk.yml @@ -38,9 +38,17 @@ jobs: env: CI: '' run: npm run ci:build + + - name: Create .npmrc + run: | + cat << EOF > "$HOME/.npmrc" + //registry.npmjs.org/:_authToken=$NPM_TOKEN + EOF + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - 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..f2d237496 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": { - "release": true + "tag": false, + "release": false + }, + "npm": { + "ignoreVersion": 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": {