mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 08:18:52 -03:00
this shouldn't be required to stop the workflow
This commit is contained in:
parent
f0b2a73b5b
commit
7def8c82ce
7
.github/workflows/sync-linguist.yml
vendored
7
.github/workflows/sync-linguist.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
id: branch
|
||||
run: |
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
IFS=$'\n\t'
|
||||
branch_name=feature/sync-linguist-$(date +%s)
|
||||
git checkout -b $branch_name
|
||||
echo "::set-output name=branch_name::$branch_name"
|
||||
@ -32,6 +32,11 @@ jobs:
|
||||
grep -v "-" | \
|
||||
sort --version-sort --reverse | \
|
||||
head -1)
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Could not find latest tagged 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