-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for version check using version package #5
Conversation
@scortier We also need to encapsulate storing of the current version, build, etc. in this package only. So the version package should also be able to return current version. |
Sure, will add this features too (WIP) |
@ravisuhag Do we need to ask user for their current binary version or should the package itself need to find it ? |
These vars can be at this package level only but we can expose a function for users to set them up. Package users can then maybe decide if they want to use go build flags to directly set up build and version or use the function to assign them. |
Currently , moving forward with the approach of user providing the current version. |
5354e5c
to
0aff91d
Compare
52be2cf
to
c246195
Compare
bed9e90
to
b58c11e
Compare
06579d5
to
0c02378
Compare
@scortier Can you fix the linting errors before we merge. |
0c02378
to
10f4721
Compare
Description
Adds a package to return the latest binary version .
Condition applied, if current binary version of user system is not upto date.
Related Issues
Issue #4