fix update version pattern

This commit is contained in:
Josh Baker 2018-01-15 11:06:15 -07:00
parent 8a4ccc8e99
commit 3bdcfd10da
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ fi
if [ "$1" == "update-version" ]; then
# update the versions in the README.md and Dockerfile
sed -i '' "s/version-.\..\../version-$VERSION/g" README.md
sed -i '' "s/ENV\ TILE38_VERSION\ .\..\../ENV TILE38_VERSION $VERSION/g" docker/Dockerfile
sed -i '' "s/version-[0-9]*\.[0-9]*\.[0-9]*/version-$VERSION/g" README.md
sed -i '' "s/ENV\ TILE38_VERSION\ [0-9]*\.[0-9]*\.[0-9]*/ENV TILE38_VERSION $VERSION/g" docker/Dockerfile
exit
fi