Skip to content

Commit

Permalink
fix: use publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkelawala committed Feb 15, 2024
1 parent fe31904 commit c5fd8a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/mighty-dancers-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"get-starknet-core": patch
"get-starknet": patch
---

prerelease
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 }}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit c5fd8a0

Please sign in to comment.