Use "next" instead of "latest"

This commit is contained in:
Georges Dupéron 2019-06-10 19:02:49 +02:00
parent 8019b647a5
commit 938fec3e46
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ else
# ) || clean up temporary file if any command in the previous block failed # ) || clean up temporary file if any command in the previous block failed
wget "$url" -O - \ wget "$url" -O - \
| sed -e "s/latest/$version/g" \ | sed -e "s/next/$version/g" \
| sudo sh -c ' \ | sudo sh -c ' \
( \ ( \
rm -f /usr/local/bin/.temp.ligo.before-atomic-move \ rm -f /usr/local/bin/.temp.ligo.before-atomic-move \

View File

@ -4,7 +4,7 @@ if [ test "x$PWD" = "x" ]; then
echo "Cannot detect the current directory, the environment variable PWD is empty." echo "Cannot detect the current directory, the environment variable PWD is empty."
exit 1 exit 1
else else
docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:latest "$@" docker run -it -v "$PWD":"$PWD" -w "$PWD" ligolang/ligo:next "$@"
fi fi
# Do not remove the next line. It is used as an approximate witness that the download of this file was complete. This string should not appear anywhere else in the file. # Do not remove the next line. It is used as an approximate witness that the download of this file was complete. This string should not appear anywhere else in the file.
# END OF DOWNLOADED FILE # END OF DOWNLOADED FILE