Skip to content

Commit fdcfa66

Browse files
committed
fix(workflow): 🐛 fixed issue in getting last tag details in release workflow
1 parent d6892be commit fdcfa66

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/pre-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Check out Git repository
2929
uses: actions/checkout@v3
30+
with:
31+
fetch-depth: 0
3032

3133
- name: Setup Node v16
3234
uses: actions/setup-node@v3
@@ -224,6 +226,8 @@ jobs:
224226
steps:
225227
- name: Check out Git repository
226228
uses: actions/checkout@v3
229+
with:
230+
fetch-depth: 0
227231

228232
- name: Create GitHub Release
229233
uses: softprops/action-gh-release@v1

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Check out Git repository
2929
uses: actions/checkout@v3
30+
with:
31+
fetch-depth: 0
3032

3133
- name: Setup Node v16
3234
uses: actions/setup-node@v3
@@ -224,6 +226,8 @@ jobs:
224226
steps:
225227
- name: Check out Git repository
226228
uses: actions/checkout@v3
229+
with:
230+
fetch-depth: 0
227231

228232
- name: Create GitHub Release
229233
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)