Skip to content

Commit 362b337

Browse files
author
rahul-infra
committed
debug: add logging to see what semantic-release sees
1 parent 096523d commit 362b337

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/version-preview.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,18 @@ jobs:
2424

2525
- name: Configure for preview
2626
run: |
27+
echo "Current HEAD: $(git rev-parse HEAD)"
28+
echo "Current branch: $(git branch --show-current)"
29+
echo ""
30+
echo "Recent commits:"
31+
git log --oneline -10
32+
echo ""
33+
echo "Latest tag:"
34+
git describe --tags --abbrev=0
35+
echo ""
36+
echo "Commits since last tag:"
37+
git log $(git describe --tags --abbrev=0)..HEAD --oneline
38+
2739
# Create temporary releaserc that allows any branch
2840
cat > .releaserc.json << 'EOF'
2941
{
@@ -37,7 +49,10 @@ jobs:
3749
]
3850
}
3951
EOF
52+
4053
git checkout -b temp-preview-branch
54+
echo ""
55+
echo "Created branch: $(git branch --show-current)"
4156
4257
- name: Preview Release
4358
id: semantic

0 commit comments

Comments
 (0)