update go-task to stable 3.0.0

This commit is contained in:
Felix Lohmeier 2020-12-11 12:50:32 +01:00
parent cdfdfa3142
commit d7547e3dda
2 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@ tasks:
# - output/02-alephino-main/alephino.csv
- output/02-alephino-main/alephino.openrefine.tar.gz
env:
REFINE_ENDPOINT: http://localhost:3334
REFINE_WORKDIR: output/02-alephino-main
REFINE_LOGFILE: log/02-alephino-main/{{.DATE}}.log
@ -58,6 +59,7 @@ tasks:
- output/02-bibliotheca-main/bibliotheca.csv
- output/02-bibliotheca-main/bibliotheca.openrefine.tar.gz
env:
REFINE_ENDPOINT: http://localhost:3335
REFINE_WORKDIR: output/02-bibliotheca-main
REFINE_LOGFILE: log/02-bibliotheca-main/{{.DATE}}.log

View File

@ -11,7 +11,7 @@ if [[ -z "$(readlink -e "${task}")" ]]; then
echo "Download task..."
mkdir -p "$(dirname "${task}")"
curl -L --output task.tar.gz \
"https://github.com/go-task/task/releases/download/v3.0.0-preview4/task_linux_amd64.tar.gz"
"https://github.com/go-task/task/releases/download/v3.0.0/task_linux_amd64.tar.gz"
tar -xzf task.tar.gz -C "$(dirname "${task}")" task --totals
rm -f task.tar.gz
fi