From e1bf8ec077f2d0ec41983a228099d4c28d8e1e60 Mon Sep 17 00:00:00 2001 From: florianow <64468897+florianow@users.noreply.github.com> Date: Tue, 12 Mar 2024 18:22:49 +0100 Subject: [PATCH] chore: testing multiple versions --- src/model/CollieHub.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/model/CollieHub.ts b/src/model/CollieHub.ts index 1482905..158ad07 100644 --- a/src/model/CollieHub.ts +++ b/src/model/CollieHub.ts @@ -67,11 +67,11 @@ export class CollieHub { this.config.setProperty("colliehubVersion", collieHubVersion!); } try { - const latestTag = await this.git.getLatestTag(hubCacheDir); + //const latestTag = await this.git.getLatestTag(hubCacheDir); const allTags = await this.git.getTags(hubCacheGitDir); - if (!allTags.includes(latestTag)) { + if (!allTags.includes(collieHubVersion)) { throw new Error( - `version tag dont exist, possible are ${allTags} not exist`, + `version tag does not exist, possible are: ${allTags.split("\n")}` ); } } catch (error) {