Skip to content

Commit 79c6fcc

Browse files
committed
Add fetch-depth: 0 for release-workflows.yml
1 parent 8b257d1 commit 79c6fcc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release-workflows.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
2020
show-progress: false
21+
fetch-depth: 0
2122
fetch-tags: true
2223

2324
- name: Tag and Release
@@ -31,12 +32,8 @@ jobs:
3132
latestRelease=0
3233
fi
3334
34-
echo $latestRelease
35-
3635
releaseVersion=v$(($latestRelease + 1))
3736
38-
echo $releaseVersion
39-
4037
for file in ./.github/workflows/spring-*; do
4138
sed -i "1,/WORKFLOWS_REF:.*/s/WORKFLOWS_REF:.*/WORKFLOWS_REF: $releaseVersion/" $file
4239
done

0 commit comments

Comments
 (0)