Skip to content

Commit f25ae68

Browse files
committed
Fix script
1 parent f0d1100 commit f25ae68

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/publish.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,25 @@ jobs:
108108
id: changepacks
109109

110110
- name: Publish to npm
111-
run: pnpm publish
111+
run: |
112+
# Check Git status
113+
echo "=== Git Status Check ==="
114+
echo "Current branches:"
115+
git branch
116+
echo ""
117+
echo "Git HEAD status:"
118+
git rev-parse --abbrev-ref HEAD
119+
echo ""
120+
echo "Git status:"
121+
git status
122+
echo ""
123+
echo "Recent commit:"
124+
git log -1 --oneline
125+
echo ""
126+
echo "Remote branch info:"
127+
git branch -r | grep HEAD || echo "No remote HEAD found"
128+
echo "==================="
129+
echo ""
130+
131+
pnpm publish
112132
if: steps.changepacks.outputs.changepacks != ''

0 commit comments

Comments
 (0)