-
Notifications
You must be signed in to change notification settings - Fork 425
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
problems with GIT_DESCRIBE_NUMBER #1087
Comments
What does How do you create your tags? If you are not annotating them, there might be issues. Note that tags created via the github web interface are lightweight, not annotated tags. https://git-scm.com/book/en/v2/Git-Basics-Tagging#Annotated-Tags To retroactively annotate tags:
If this does not work, then we have a bug, but I think this is the issue - we test this functionality in our integration tests, and have not seen an issue with the 1.21.3 release. |
v0.2.2 is annotated |
OK, are these public repos (the source, and the recipe) that I can clone for debugging purposes? |
No, I've created a repo here: https://github.com/elehcim/conda_git_dbg.git for which I can reproduce the issue.
|
I've found a workaround. Changing to:
works. |
OK, thanks. That's helpful for debugging, though it should work either way. I'll update the tests and make sure. |
maybe related to #357 ? |
This should be fixed in conda-build 1.21.4, released yesterday. Closing this issue for now, but please reopen or comment here if you still have issues. |
Hi there, thank you for your contribution! This issue has been automatically locked because it has not had recent activity after being closed. Please open a new issue if needed. Thanks! |
Hello, my recipe is like:
and is located in a git repo.
If I perform a
conda build .
, this error is produced:If I substitute:
with
it works and the package created is something like pkg-v0.2.2-76_g869cb67.tar.bz2
Stepping into
/home/user/anaconda3/lib/python3.5/site-packages/conda_build/metadata.py:454
it seems that GIT_DESCRIBE_NUMBER isNone
...Do you have any idea on why
GIT_DESCRIBE_NUMBER
is not working?Thanks
The text was updated successfully, but these errors were encountered: