Skip to content

Commit 9eff317

Browse files
authored
fix: fetch history on the CI
This may help to get the last tag on the repo
1 parent f6d2331 commit 9eff317

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,8 @@ jobs:
9898
with:
9999
fetch-depth: 100
100100

101-
- name: debug
102-
run: |
103-
git rev-list --tags --skip=0 --max-count=1
104-
git describe --abbrev=0 --tags
101+
- name: Fetch from history
102+
run: git fetch --prune --unshallow --tags
105103

106104
- name: Build Changelog
107105
id: github_release_build

0 commit comments

Comments
 (0)