From a6cb94422b6acca1b29aafc0bda616fd8dd1eaf0 Mon Sep 17 00:00:00 2001 From: Slivo Date: Thu, 28 Apr 2022 00:05:16 +0200 Subject: [PATCH 1/3] Minor update check improvements --- src/tranqRotate.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tranqRotate.lua b/src/tranqRotate.lua index 428c3c2..5780b93 100644 --- a/src/tranqRotate.lua +++ b/src/tranqRotate.lua @@ -313,16 +313,18 @@ end -- @return major, minor, fix, isStable function TranqRotate:parseVersionString(versionString) - local version, type = strsplit("-", versionString) + local version, versionType = strsplit("-", versionString) local major, minor, fix = strsplit( ".", version) - return tonumber(major), tonumber(minor), tonumber(fix), type == nil + return tonumber(major), tonumber(minor), tonumber(fix), versionType == nil end -- Check if the given version would require updating -- @return requireUpdate, breakingUpdate function TranqRotate:isUpdateRequired(versionString) + if (nil == versionString) then return false, false end + local remoteMajor, remoteMinor, remoteFix, isRemoteStable = self:parseVersionString(versionString) local localMajor, localMinor, localFix, isLocalStable = self:parseVersionString(TranqRotate.version) From cd30fee8c130bd3d19605ba113508a084aedde33 Mon Sep 17 00:00:00 2001 From: Slivo Date: Fri, 9 Sep 2022 14:24:42 +0200 Subject: [PATCH 2/3] Update ERA and last TBC toc --- TranqRotate.toc | 6 +++--- TranqRotate_TBC.toc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/TranqRotate.toc b/TranqRotate.toc index 86e646a..b33e5e6 100644 --- a/TranqRotate.toc +++ b/TranqRotate.toc @@ -1,8 +1,8 @@ -## Interface: 11401 -## Title: TranqRotate |cff00aa002.2.3|r +## Interface: 11403 +## Title: TranqRotate |cff00aa002.2.4|r ## Notes: A tranqshot rotation assistant ## Author: Slivo -## Version: 2.2.3 +## Version: 2.2.4 ## SavedVariables: TranqRotateDb ## OptionalDeps: Ace3 diff --git a/TranqRotate_TBC.toc b/TranqRotate_TBC.toc index d962f94..8fa0a76 100644 --- a/TranqRotate_TBC.toc +++ b/TranqRotate_TBC.toc @@ -1,8 +1,8 @@ -## Interface: 20502 -## Title: TranqRotate |cff00aa002.2.3|r +## Interface: 20504 +## Title: TranqRotate |cff00aa002.2.4|r ## Notes: A tranqshot rotation assistant ## Author: Slivo -## Version: 2.2.3 +## Version: 2.2.4 ## SavedVariables: TranqRotateDb ## OptionalDeps: Ace3 From ff0d180a58d5f2596c7094d0c0f1f7e56772967a Mon Sep 17 00:00:00 2001 From: Slivo Date: Mon, 12 Sep 2022 14:30:25 +0200 Subject: [PATCH 3/3] Update readme --- changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index 858790a..65e8347 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ ## TranqRotate Changelog +#### v2.2.4 + +- Minor fix regarding version checks +- Bump toc for 1.14.3 & 2.5.4 + #### v2.2.3 - Incapacitated backup alert should now work properly