Merge pull request #489 from libexpat/actions-make-git-fetch-unshallow-robust-to-existing-tags

GitHub Actions: Avoid error "would clobber existing tag" when triggered by pushing a new Git tag
This commit is contained in:
Sebastian Pipping 2021-05-23 03:12:46 +02:00 committed by GitHub
commit fa12e73d05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ jobs:
wine32 wine32
- name: Unshallow Git clone - name: Unshallow Git clone
run: | run: |
git fetch --tags --unshallow origin # for "git describe" in coverage.sh git fetch --force --tags --unshallow origin # for "git describe" in coverage.sh
- name: Collect test coverage - name: Collect test coverage
env: env:
MODE: coverage-sh MODE: coverage-sh