fix(ci): sorting based on version
This commit is contained in:
parent
181b377cfa
commit
b93af06dc2
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ for p in * ; do
|
|||
echo "${p}:";
|
||||
|
||||
# last pkg
|
||||
lastTag=$(git tag -l "${p}-v*" | tail -1)
|
||||
lastTag=$(git tag -l "${p}-v*" | sort --sort=version | tail -1)
|
||||
lastVersion=${lastTag#${p}-v}
|
||||
echo "last pkg: ${lastVersion}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue