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

Fetch tags for limactl --version #3

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Fetch tags for limactl --version #3

merged 1 commit into from
Apr 30, 2024

Conversation

jandubois
Copy link
Member

@jandubois jandubois commented Apr 30, 2024

When tags are unavailable, limactl --version will just report the commit SHA1, e.g. limactl version 6587349.

When tags are available the reported version looks like limactl version 0.21.0-47-gcaba48e.

@jandubois jandubois requested a review from mook-as April 30, 2024 22:18
Copy link
Contributor

@mook-as mook-as left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you amend the commit message to explain why this is needed? Currently it just says what it's doing, but it's not obvious why.

When tags are unavailable, `limactl --version` will just report
the commit SHA1, e.g. "limactl version 6587349".

When tags are available the reported version looks like
"limactl version 0.21.0-47-gcaba48e".

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
Copy link
Contributor

@mook-as mook-as left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Context: actions/checkout#1471 (fetch-tags: true doesn't actually fetch any tags).

@jandubois jandubois merged commit 660a74b into main Apr 30, 2024
1 check passed
@jandubois jandubois deleted the fetch-tags branch April 30, 2024 23:28
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.

None yet

2 participants