We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc28c0f commit d5b274dCopy full SHA for d5b274d
app/Main.hs
@@ -116,7 +116,7 @@ shouldUpgrade asset =
116
let assetNameTokens = T.splitOn "-" (Main.name asset)
117
in if length assetNameTokens `notElem` [3, 4]
118
then False
119
- else assetNameTokens !! 2 /= T.pack (showVersion version)
+ else (T.replace ".tar.gz" "" (assetNameTokens !! 2)) /= T.pack (showVersion version)
120
121
-- | If conditions are met, download the appropriate tarball from the latest
122
-- github release, extract and copy to /usr/local/bin
0 commit comments