From c0f30c7dd125336c7f0056f192d9bbe09cdf4d28 Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Wed, 1 May 2024 13:57:30 +0200 Subject: [PATCH] Full checkout of repository during release Otherwise `git describe --tags` won't work correctly, because of the missing history, causing the canary build to not be published. Signed-off-by: Kim Christensen --- .github/workflows/build_pipelinesrelease_template.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_pipelinesrelease_template.yml b/.github/workflows/build_pipelinesrelease_template.yml index 5130de532..a5adad6f2 100644 --- a/.github/workflows/build_pipelinesrelease_template.yml +++ b/.github/workflows/build_pipelinesrelease_template.yml @@ -133,6 +133,8 @@ jobs: steps: - name: checkout uses: actions/checkout@v4.1.0 + with: + fetch-depth: 0 - uses: actions/setup-go@v4 with: go-version: "${{ inputs.GOVERSION }}"