From 0b443134c936ba000e2b6490df819ea8797f69de Mon Sep 17 00:00:00 2001 From: PProfizi Date: Wed, 17 Sep 2025 11:24:48 +0200 Subject: [PATCH] ci(pydpf-post): fix step to get latest version --- .github/workflows/pydpf-post.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pydpf-post.yml b/.github/workflows/pydpf-post.yml index 50b68ecf32b..7f5af877905 100644 --- a/.github/workflows/pydpf-post.yml +++ b/.github/workflows/pydpf-post.yml @@ -122,7 +122,7 @@ jobs: echo branch="$BranchName" if [ "$BranchName" = '' ]; then - BranchName=$(git ls-remote --tags --refs $REPO | tail -n1 | cut -d/ -f3) + BranchName=$(git ls-remote --tags --sort="v:refname" --refs $REPO | tail -n1 | cut -d/ -f3) fi echo branch=$BranchName git clone --single-branch --branch "$BranchName" $REPO