From c5fd8a0627d08d125f7898ebbe0212e79a6c20a0 Mon Sep 17 00:00:00 2001 From: Dhruv Kelawala Date: Thu, 15 Feb 2024 13:50:50 +0000 Subject: [PATCH] fix: use publish script --- .changeset/mighty-dancers-itch.md | 6 ++++++ .github/workflows/release.yml | 4 ++-- package.json | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .changeset/mighty-dancers-itch.md diff --git a/.changeset/mighty-dancers-itch.md b/.changeset/mighty-dancers-itch.md new file mode 100644 index 0000000..8ef3815 --- /dev/null +++ b/.changeset/mighty-dancers-itch.md @@ -0,0 +1,6 @@ +--- +"get-starknet-core": patch +"get-starknet": patch +--- + +prerelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb5694a..12028d9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: version: pnpm run version commit: "chore: pre-release version bump" title: "Pre-release version bump" - publish: pnpm publish --tag next --no-git-checks + publish: pnpm run publish:next env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -51,6 +51,6 @@ jobs: version: pnpm run version commit: "chore: release version bump" title: "Release version bump" - publish: pnpm publish + publish: pnpm run publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 42d301c..04da93b 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "format:check": "prettier --ignore-path .gitignore --plugin-search-dir=. --check '**/*.{js,cjs,ts,tsx,svelte,md,yml,json}'", "prepare": "pnpm run build && husky install", "publish": "pnpm publish -r --no-git-checks", + "publish:next": "pnpm publish -r --no-git-checks --tag next", "test": "CI=true pnpm run -r test", "version": "changeset version && pnpm install --lockfile-only" },