update go-task to stable 3.0.0
This commit is contained in:
parent
cdfdfa3142
commit
d7547e3dda
|
@ -39,6 +39,7 @@ tasks:
|
||||||
# - output/02-alephino-main/alephino.csv
|
# - output/02-alephino-main/alephino.csv
|
||||||
- output/02-alephino-main/alephino.openrefine.tar.gz
|
- output/02-alephino-main/alephino.openrefine.tar.gz
|
||||||
env:
|
env:
|
||||||
|
REFINE_ENDPOINT: http://localhost:3334
|
||||||
REFINE_WORKDIR: output/02-alephino-main
|
REFINE_WORKDIR: output/02-alephino-main
|
||||||
REFINE_LOGFILE: log/02-alephino-main/{{.DATE}}.log
|
REFINE_LOGFILE: log/02-alephino-main/{{.DATE}}.log
|
||||||
|
|
||||||
|
@ -58,6 +59,7 @@ tasks:
|
||||||
- output/02-bibliotheca-main/bibliotheca.csv
|
- output/02-bibliotheca-main/bibliotheca.csv
|
||||||
- output/02-bibliotheca-main/bibliotheca.openrefine.tar.gz
|
- output/02-bibliotheca-main/bibliotheca.openrefine.tar.gz
|
||||||
env:
|
env:
|
||||||
|
REFINE_ENDPOINT: http://localhost:3335
|
||||||
REFINE_WORKDIR: output/02-bibliotheca-main
|
REFINE_WORKDIR: output/02-bibliotheca-main
|
||||||
REFINE_LOGFILE: log/02-bibliotheca-main/{{.DATE}}.log
|
REFINE_LOGFILE: log/02-bibliotheca-main/{{.DATE}}.log
|
||||||
|
|
||||||
|
|
2
main.sh
2
main.sh
|
@ -11,7 +11,7 @@ if [[ -z "$(readlink -e "${task}")" ]]; then
|
||||||
echo "Download task..."
|
echo "Download task..."
|
||||||
mkdir -p "$(dirname "${task}")"
|
mkdir -p "$(dirname "${task}")"
|
||||||
curl -L --output task.tar.gz \
|
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
|
tar -xzf task.tar.gz -C "$(dirname "${task}")" task --totals
|
||||||
rm -f task.tar.gz
|
rm -f task.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue