mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-07-10 03:09:14 +00:00
remove extra whitespace, check $latest
This commit is contained in:
5
.github/workflows/sync-linguist.yml
vendored
5
.github/workflows/sync-linguist.yml
vendored
@ -32,11 +32,10 @@ jobs:
|
||||
grep -v "-" | \
|
||||
sort --version-sort --reverse | \
|
||||
head -1)
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Could not find latest tagged Linguist version"
|
||||
if [[ -n $latest ]]; then
|
||||
echo "could not determine latest Linguist version"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "::set-output name=linguist_version::$latest"
|
||||
git checkout $latest
|
||||
cd ..
|
||||
|
Reference in New Issue
Block a user