Skip to content

Conversation

@ibice
Copy link

@ibice ibice commented Sep 19, 2023

Hi there! I added Updater.ListReleases to list available releases. I found it useful in case you want to update the binary to a specific version.

And, to reduce code duplication:

  • Add repoInfo, a struct holding repository information and a constructor parseRepo.
  • Add newRelease, a constructor for the Release struct.
  • Add a function that returns the valid file suffixes, assetSuffixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant