mirror of https://github.com/tidwall/tile38.git
fix update version pattern
This commit is contained in:
parent
8a4ccc8e99
commit
3bdcfd10da
4
build.sh
4
build.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue