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

gen_version_info fails if no branch is checked out #96

Closed
GigaGrunch opened this issue Dec 25, 2024 · 0 comments
Closed

gen_version_info fails if no branch is checked out #96

GigaGrunch opened this issue Dec 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@GigaGrunch
Copy link
Contributor

When just checking out a commit (or tag like v0.2.1) and building flow, the version info is completely missing in the build. I believe that the reason is the usage of git log --pretty=oneline @{u}... because @{u} tries to resolve the remote tracking branch. Running the git command directly prints fatal: HEAD does not point to a branch.

@neurocyte neurocyte added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants