diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 415124a..325105c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -29,7 +29,9 @@ jobs: - uses: actions/checkout@v4.1.7 - name: Get latest tag id: latesttag - run: echo "latesttag=$(git describe --tags --abbrev=0)" >> "$GITEA_OUTPUT" + run: | + git fetch --tags + echo "latesttag=$(git describe --tags --abbrev=0)" >> "$GITEA_OUTPUT" test: name: Unit Test