From 05a04a72fa7507e61acb204d860f17612e7ece28 Mon Sep 17 00:00:00 2001 From: Pierre Villemot Date: Fri, 3 Nov 2023 10:55:47 +0100 Subject: [PATCH] Try to fetch tags with the GitHub action `checkout` By default, this GitHub action doesn't retrieve the tags of the current branch but we need to get these tags for `dune-release`. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca8d2e5972..54d3c39a53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,8 @@ jobs: uses: actions/checkout@v3 with: persist-credentials: false + fetch-depth: 0 + fetch-tags: true - name: Use OCaml ${{ env.OCAML_DEFAULT_VERSION }} uses: ocaml/setup-ocaml@v2