Skip to content

Commit 35284a4

Browse files
committed
Fix script
1 parent b87ed19 commit 35284a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ jobs:
110110
- name: Publish to npm
111111
run: |
112112
echo '${{ steps.changepacks.outputs.changepacks }}' | jq -r '.[]' | while read package; do
113-
echo "Publishing package: $package"
114-
cd "$package"
113+
package_dir=$(dirname "$package")
114+
echo "Publishing package: $package_dir"
115+
cd "$package_dir"
115116
pnpm publish
116117
cd "${{ github.workspace }}"
117118
done

0 commit comments

Comments
 (0)