Skip to content
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

Check for new releases #463

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Check for new releases #463

wants to merge 1 commit into from

Conversation

jbygdell
Copy link
Contributor

Related issue(s) and PR(s)
This PR closes #449 .

Description
When running sda-cli version the app will check the latest release page on GitHub and match that against the version tag it has. If a newer version is available it will print the following message:

Newer version if sda-cli is avaiable, v0.1.3
Published: 2024-09-19 09:23:33
Download it from here: https://github.com/NBISweden/sda-cli/releases/tag/v0.1.3

How to test

@jbygdell jbygdell requested a review from a team October 30, 2024 08:39
@jbygdell jbygdell self-assigned this Oct 30, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 51.61290% with 30 lines in your changes missing coverage. Please review.

Project coverage is 39.60%. Comparing base (e92c967) to head (8fced1b).

Files with missing lines Patch % Lines
version/version.go 51.61% 25 Missing and 5 partials ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #463      +/-   ##
==========================================
+ Coverage   39.22%   39.60%   +0.37%     
==========================================
  Files          11       11              
  Lines        1968     2030      +62     
==========================================
+ Hits          772      804      +32     
- Misses       1084     1109      +25     
- Partials      112      117       +5     
Flag Coverage Δ
unittests 39.60% <51.61%> (+0.37%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

[version] Check if newer version is available
2 participants