diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index ac54103..bbe583b 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -29,7 +29,9 @@ jobs: working-directory: / run: | apk add --no-cache git curl jq mingw-w64-gcc docker-cli - git clone --depth=1 \ + # Full clone (not --depth=1): a version tag can point at an older commit + # than the main tip, which a shallow clone would not contain. + git clone \ "http://x9:${{ secrets.FORGEJO_TOKEN }}@xetup-forgejo:3000/${{ github.repository }}.git" \ /repo cd /repo