From e135628db0e9b1013599cd2bfc5d23d81403c26a Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Wed, 11 May 2022 11:13:53 +0200 Subject: [PATCH] Improve release action * Checkout more so we also get the release tags, using 0 as this should checkout all tags according to the documentation of https://github.com/actions/checkout --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d9e132..2237625 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,6 +11,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + # make sure that we checkou tags for git describe + fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v3