Skip to content

Commit 6e320dc

Browse files
Add more debugging for tag release (#1156)
1 parent e4e6e46 commit 6e320dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
- name: Fetch files and ensure branches exist
2222
run: |
2323
git fetch origin
24+
if [ -f .git/shallow ]; then
25+
echo "Shallow repo clone, unshallowing"
26+
git fetch --unshallow
27+
fi
28+
git fetch --tags
2429
# Check if the 'main' branch exists, if not, create it
2530
if git rev-parse --verify main >/dev/null 2>&1; then
2631
git checkout main
@@ -42,6 +47,7 @@ jobs:
4247
run: |
4348
ls -la ${{ github.workspace }}/CHANGELOG.txt
4449
cat ${{ github.workspace }}/CHANGELOG.txt
50+
echo "Current tag is: $(git rev-list --tags --max-count=1)"
4551
4652
- name: Checkout code from main into release branch
4753
run: |

0 commit comments

Comments
 (0)