Skip to content

Commit 5972cf9

Browse files
committed
try fetch depth 0
1 parent f0e45e4 commit 5972cf9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/run-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
steps:
1616
- name: Checkout source
1717
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
fetch-tags: true
1821

1922
- name: Resolve version
2023
id: resolve-version
@@ -24,8 +27,6 @@ jobs:
2427
exit 0
2528
fi
2629
27-
git fetch origin
28-
git fetch --tags
2930
CURRENT_VERSION=$(git describe --tags --abbrev=0)
3031
3132
IFS='.' read -r MAJOR MINOR PATCH <<< "$CURRENT_VERSION"

0 commit comments

Comments
 (0)