Skip to content

Commit 7297c64

Browse files
committed
ci: fix release script
1 parent d8e29d7 commit 7297c64

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
with:
3232
commit: "chore(release): update release & CHANGELOG.md"
3333
title: "📦 Update Packages Version"
34-
publish: npx @changesets/cli version && npx @qingshaner/jsr-release --allowDirty version --sync
35-
version: npx @changesets/cli publish
34+
version: echo pwd && ./version.sh
35+
publish: echo "This should be the publish to npm command"
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838

3939
- name: Publish to jsr.io
4040
if: steps.changesets.outputs.published == 'true'
41-
run: pnpx @qingshaner/jsr-release publish --changesetReleases='${{ steps.changesets.outputs.publishedPackages }}'
41+
run: npx @qingshaner/jsr-release publish --changesetReleases='${{ steps.changesets.outputs.publishedPackages }}'

version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
npx @changesets/cli version
2+
npx @qingshaner/jsr-release --allowDirty version --sync

0 commit comments

Comments
 (0)