diff --git a/.gitea/workflows/source-release.yml b/.gitea/workflows/source-release.yml index 466d6f0..680a5b2 100644 --- a/.gitea/workflows/source-release.yml +++ b/.gitea/workflows/source-release.yml @@ -19,7 +19,17 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true submodules: recursive + token: ${{ secrets.RELEASE_TOKEN }} + + - name: Fetch tags explicitly + run: | + git fetch --force --tags + echo "describe:" + git describe --tags --exact-match || true + echo "points-at-head:" + git tag --points-at HEAD || true - name: Update submodules explicitly run: |