From b1ba0f9886027d7c2bfd8ff217c8d05c2d9e878f Mon Sep 17 00:00:00 2001 From: Johan Walles Date: Wed, 28 Feb 2024 21:09:58 +0100 Subject: [PATCH] Try forcing tag retrieval --- .github/workflows/deployment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 9d79b10..b994d16 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -36,7 +36,9 @@ jobs: - name: Check out repository code uses: actions/checkout@v4 with: - fetch-depth: 0 # For getting tags from the repo + # For getting tags from the repo + fetch-depth: 0 + fetch-tags: true - name: Print current revision run: | git describe --dirty