From f1b3de5caaa2a2641251c72b68a225e345a1afa9 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Wed, 11 May 2022 11:24:40 +0200 Subject: [PATCH] Improve release github action * Change to use a tag variable for checkout --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2237625..bc50b57 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,8 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - # make sure that we checkou tags for git describe - fetch-depth: 0 + ref: ${{ github.event.release.tag_name }} - name: Set up Go uses: actions/setup-go@v3