We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9476058 commit 1868f6aCopy full SHA for 1868f6a
.github/workflows/pydpf-post.yml
@@ -122,7 +122,7 @@ jobs:
122
echo branch="$BranchName"
123
if [ "$BranchName" = '' ];
124
then
125
- 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)
126
fi
127
echo branch=$BranchName
128
git clone --single-branch --branch "$BranchName" $REPO
0 commit comments