mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-14 18:27:44 +02:00
Tools: Fixed Docker image version number
This commit is contained in:
parent
8f1e3ba43c
commit
815800827b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user