We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e6e46 commit 6e320dcCopy full SHA for 6e320dc
.github/workflows/build.yml
@@ -21,6 +21,11 @@ jobs:
21
- name: Fetch files and ensure branches exist
22
run: |
23
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
29
# Check if the 'main' branch exists, if not, create it
30
if git rev-parse --verify main >/dev/null 2>&1; then
31
git checkout main
@@ -42,6 +47,7 @@ jobs:
42
47
43
48
ls -la ${{ github.workspace }}/CHANGELOG.txt
44
49
cat ${{ github.workspace }}/CHANGELOG.txt
50
+ echo "Current tag is: $(git rev-list --tags --max-count=1)"
45
51
46
52
- name: Checkout code from main into release branch
53
0 commit comments