Use "next" instead of "latest"
This commit is contained in:
parent
8019b647a5
commit
938fec3e46
@ -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 \
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user