mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 08:18:52 -03:00
remove extra whitespace, check $latest
This commit is contained in:
parent
7def8c82ce
commit
c6f7913c28
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 ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user