From de2ac6784b5723d83408173c27bc3d1e45dd82eb Mon Sep 17 00:00:00 2001 From: Bjoern Michaelsen Date: Thu, 21 Dec 2023 10:06:19 +0100 Subject: [PATCH] fix: releases need a full checkout, so that git-describe is stable (#1254) --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c06f1559..f16350c20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,9 @@ jobs: name: Release kuberpult with semantic versioning runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 # needed for git describe/VERSION in Makefile - name: Identify version to create uses: go-semantic-release/action@v1 id: new-semrel-version