Skip to content

Commit 8255c26

Browse files
authored
fix: Fix version check against latest release (#3292)
Signed-off-by: Tamer Fahmy <tamer.fahmy@gmail.com>
1 parent c298653 commit 8255c26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/action/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (s *Action) checkVersion(ctx context.Context, u chan string) {
8484
return
8585
}
8686

87-
if r.Version.GT(s.version) {
87+
if !r.Version.GT(s.version) {
8888
_ = s.rem.Reset("update")
8989
debug.Log("gopass is up-to-date (local: %q, GitHub: %q)", s.version, r.Version)
9090

0 commit comments

Comments
 (0)