From 815800827b28e28a7cc71b6e9959df43ce1b4306 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 11 Jun 2021 18:34:16 +0200 Subject: [PATCH] Tools: Fixed Docker image version number --- packages/tools/buildServerDocker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/buildServerDocker.ts b/packages/tools/buildServerDocker.ts index 4813a8eee..b7f674711 100644 --- a/packages/tools/buildServerDocker.ts +++ b/packages/tools/buildServerDocker.ts @@ -3,7 +3,7 @@ import { execCommand2, rootDir } from './tool-utils'; function getVersionFromTag(tagName: string): string { if (tagName.indexOf('server-') !== 0) throw new Error(`Invalid tag: ${tagName}`); const s = tagName.split('-'); - return s[1]; + return s[1].substr(1); } function getIsPreRelease(tagName: string): boolean {