From d4e471e87e4dc9693baee414d0f2a0d7f5702935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Mon, 10 Jun 2024 09:19:03 +0200 Subject: [PATCH] fix(CI): Fetch all history We need to find the latest version tag in the history. By default the action/checkout uses "--depth 1" parameter which fetches only a single commit without history. --- .github/workflows/obs-staging-shared.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/obs-staging-shared.yml b/.github/workflows/obs-staging-shared.yml index 0f03ab72b1..d7f5e48bc8 100644 --- a/.github/workflows/obs-staging-shared.yml +++ b/.github/workflows/obs-staging-shared.yml @@ -54,6 +54,8 @@ jobs: - name: Git Checkout uses: actions/checkout@v4 with: + # fetch all history with tags, we need to find the latest version tag + fetch-depth: 0 fetch-tags: true - name: Configure osc