Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amalshaji committed Mar 2, 2025
1 parent b1de0f9 commit 6b6aae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tunnel/cmd/portr/updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func checkForUpdates() error {
return getLatestRelease()
}

currentVersion, err := semver.NewVersion(VERSION)
currentVersion, err := semver.NewVersion(version)
if err != nil {
return err
}
Expand Down Expand Up @@ -147,7 +147,7 @@ func getVersionToUpdate() (string, error) {
return "", nil
}

currentVersion, err := semver.NewVersion(VERSION)
currentVersion, err := semver.NewVersion(version)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 6b6aae6

Please sign in to comment.