Skip to content

Commit 558a00c

Browse files
committed
debug(ci): add git history and semantic-release debug output
1 parent 479d2d5 commit 558a00c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,25 @@ jobs:
279279
python -m pip install --upgrade pip
280280
pip install python-semantic-release
281281
282+
- name: Debug Git History
283+
run: |
284+
echo "=== Git Tags ==="
285+
git tag --list
286+
echo "=== Recent Commits ==="
287+
git log --oneline -10
288+
echo "=== Commits since v1.1.0 ==="
289+
git log --oneline v1.1.0..HEAD || echo "No commits since v1.1.0 found"
290+
282291
- name: Semantic Release
283292
env:
284293
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
285294
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
286295
run: |
287296
git config --global user.name "github-actions[bot]"
288297
git config --global user.email "github-actions[bot]@users.noreply.github.com"
298+
echo "=== Semantic Release Debug ==="
299+
semantic-release --noop publish
300+
echo "=== Actual Release ==="
289301
semantic-release publish
290302
291303
# Finish

0 commit comments

Comments
 (0)