Skip to content

Commit 20fe7ed

Browse files
authored
ci: add debug steps to diagnose tag push issues (#20)
1 parent 5859bc9 commit 20fe7ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ jobs:
4747
- name: Set up git for pushing
4848
run: |
4949
git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git
50+
- name: Show git user and remote
51+
run: |
52+
git config --get user.name
53+
git config --get user.email
54+
git remote -v
55+
- name: Show current branch and HEAD
56+
run: |
57+
git branch -a
58+
git status
59+
git rev-parse --abbrev-ref HEAD
5060
- name: Create and push tag for current version (with verbose logging)
5161
run: |
5262
git remote -v

0 commit comments

Comments
 (0)