From 001e26e80558a611d8d0dcf7f96086979fdb7151 Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Mon, 29 Apr 2024 00:38:11 +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 f443fbd0b..5130de532 100644 --- a/.github/workflows/build_pipelinesrelease_template.yml +++ b/.github/workflows/build_pipelinesrelease_template.yml @@ -167,6 +167,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 }}"