Skip to content

Commit

Permalink
chore: 获取整个 git 记录
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Dec 12, 2024
1 parent 5ad3f5b commit 2cc6c92
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ jobs:
ref: master
submodules: true
fetch-tags: true
- name: Fetch latest tag
run: |
git fetch --tags
latest_tag=$(git describe --tags --abbrev=0)
echo "Latest tag: $latest_tag"
git fetch origin $latest_tag..HEAD
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 2cc6c92

Please sign in to comment.