1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 15:28:06 +02:00

Merge pull request #59 from overleaf/msm-support-rc-suffix-version

Add support for `-RC` suffix in version numbers
This commit is contained in:
Miguel Serrano 2021-07-06 14:26:13 +02:00 committed by GitHub
commit 0d96831861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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