Skip to content

Commit

Permalink
release workflow: Fetch tag properly
Browse files Browse the repository at this point in the history
This will avoid unit test failures on tags.
  • Loading branch information
martinpitt committed Apr 20, 2023
1 parent 6972da2 commit 47509df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
- name: Pacify git's permission check
run: git config --global --add safe.directory /__w

- name: Workaround for https://github.com/actions/checkout/pull/697
run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags)

- name: Install dependencies
run: |
sudo apt-get update
Expand Down

0 comments on commit 47509df

Please sign in to comment.