Browse Source

ci/release: fetch tags manually

https://github.com/actions/checkout/issues/290

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Gerard Marull-Paretas 1 month ago
parent
commit
9aeba925aa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/workflows/release.yml

+ 4 - 1
.github/workflows/release.yml

@@ -24,9 +24,12 @@ jobs:
         uses: actions/checkout@v4
         with:
           fetch-depth: 0
-          fetch-tags: true
           submodules: true
 
+      - name: Fetch tags
+        run: |
+          git fetch --tags --force
+
       - name: Install Python dependencies
         run: |
           pip install -U pip