From 5514c6bd7a89aa1363065be8de71ab5189e4d2d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9A=D0=BE=D0=BB=D0=BE=D1=81=D0=BE=D0=B2?= Date: Mon, 29 Jan 2024 13:08:00 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Change=20render=20for=20version?= =?UTF-8?q?=20with=20alpha=20postfix.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TUI/Dashboards/DependencyDashboard.cs | 2 +- src/TUI/Domain/NewFile1.txt | 13 ++++++------- src/TUI/Extensions.cs | 2 -- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/TUI/Dashboards/DependencyDashboard.cs b/src/TUI/Dashboards/DependencyDashboard.cs index f5603da..96fba08 100644 --- a/src/TUI/Dashboards/DependencyDashboard.cs +++ b/src/TUI/Dashboards/DependencyDashboard.cs @@ -118,7 +118,7 @@ public class DependencyDashboard : IControl { var token = Environment.GetEnvironmentVariable("TLD_GITLAB_PAT"); return $"{sourceDto.Repo}/api/v4/projects/{sourceDto.ProjectId}/repository/files/package.json/raw?" + - $"private_token={token}&ref=master"; + $"private_token={token}&ref=dev"; } private static string GetConventionVersion(DependencyDto dependencyDto) diff --git a/src/TUI/Domain/NewFile1.txt b/src/TUI/Domain/NewFile1.txt index 66c489e..9f63c19 100644 --- a/src/TUI/Domain/NewFile1.txt +++ b/src/TUI/Domain/NewFile1.txt @@ -23,8 +23,9 @@   dependencies  ┌──────────────────────────────────────────────────────────────────────── Planned release ─────────────────────────────────────────────────────────────────┐ -│ 2024-12-31 4/11 xfirm [############# ] //green - done, blue - test, pink review/build, orange WIP -│ 2024-12-31 xfirm 4/11 [###############.......] //green - done, blue - test, pink review/build +│ 2024-12-31 4/11 xfirm [############# ] //green - done, blue - test, pink review/build, orange WIP +│ 4/11 xfirm [###############.......] //green - done, blue - test, pink review/build +│ 2024-12-31 4/11 xfirm [###############.......] //green - done, blue - test, pink review/build │ 2024-12-31 xfirm 4/11 [############..........] //green - done, blue - test, pink review/build │ 2024-12-31 xfirm 4/11 [############..........] //green - done, blue - test, pink review/build │ 2024-12-31 xfirm 4/11 [############..........] //green - done, blue - test, pink review/build @@ -32,9 +33,9 @@ │ 2024-12-31 xfirm 4/11 [############..........] //green - done, blue - test, pink review/build └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌──────────────────────────────────────────────────────────────────────── checkperson-site ────────────────────────────────────────────────────────────────┐ -│ 󰨑 󰦖  ELK-3628 Create new menu. 󰵮 Petrov A. 󰙨 Ivanov I. -│ 󰨑 󰦕  XF-12 Change input hover. 󰵮 Ivanov I. 󰙨 Petrov A., Petrov B. -│ 󰨑 󱞇  ELK-3628 Crete new project with menu, profile, issues and # 󰵮 Ivanov I. 󰙨 Petrov A., Petrov B. +│ 󰨑 󰦖  ELK-3628 Create new menu.  Anna P. 󰵮 Petrov A. 󰙨 Ivanov I. +│ 󰨑 󰦕  XF-12 Change input hover.  Alex K. 󰵮 Ivanov I. 󰙨 Petrov A., Petrov B. +│ 󰨑 󱞇  ELK-3628 Crete new project with menu, profile, issues and #  Anna P. 󰵮 Ivanov I. 󰙨 Petrov A., Petrov B. └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ┌─────────────────────────────────────────────────────────────────────────── Actual releases 2023 ─────────────────────────────────────────────────────────┐ @@ -49,5 +50,3 @@ - - diff --git a/src/TUI/Extensions.cs b/src/TUI/Extensions.cs index 196eb4a..4acb68f 100644 --- a/src/TUI/Extensions.cs +++ b/src/TUI/Extensions.cs @@ -33,8 +33,6 @@ public static class Extensions public static Version? ToVersion(this string textVersion) { var version = textVersion.Replace("^", "").Replace("~", "").Split("."); - if (version.Length != 3) - return null; var major = Convert.ToInt32(version[0]); var minor = Convert.ToInt32(version[1]); var patch = Convert.ToInt32(version[2].Split('-')[0]);