mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
Add support for -RC
suffix in version numbers
This commit is contained in:
parent
ff69296557
commit
aafdb21346
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function __main__() {
|
|||
local REDIS_PORT="6379"
|
||||
|
||||
if [[ ! "$SHARELATEX_IMAGE_VERSION" \
|
||||
=~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
|
||||
=~ ^[0-9]+\.[0-9]+\.[0-9]+(-RC)?$ ]]; then
|
||||
echo "ERROR: invalid version '${SHARELATEX_IMAGE_VERSION}'"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue