From 0a1c781f0dc78faa6df31585564d5380facf90f1 Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Wed, 21 Oct 2026 01:23:22 +0200 Subject: [PATCH] foxmesh-ci.yml actions/checkout with all tags download Only with these https://gitea.com/actions/checkout usage, we can checkout all tags, for versioning. --- .gitea/workflows/foxmesh-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/foxmesh-ci.yml b/.gitea/workflows/foxmesh-ci.yml index d2f28f4..addf1c3 100644 --- a/.gitea/workflows/foxmesh-ci.yml +++ b/.gitea/workflows/foxmesh-ci.yml @@ -24,11 +24,13 @@ jobs: - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - # 1. Checkout the target branch + # 1. Checkout the target branch, with fetch-depth: 0 and fetch-tags: true -> loading all tags - name: Checkout Target branch uses: actions/checkout@v7 with: ref: ${{ github.event.inputs.target_branch || github.ref }} + fetch-depth: 0 + fetch-tags: true # 2. Extract Git and Date Metadata for the dynamic artifact filename - name: Generate Dynamic Artifact Metadata