-
Notifications
You must be signed in to change notification settings - Fork 28
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
Other projects: support PEP 621 and TS/JS package.json for finding version #100
Conversation
src/antsibull_changelog/cli.py
Outdated
if data.get('version'): | ||
return data.get('version') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For PEP 621 metadata, version
is part of the project
table (data['project']['verision']
). It's not a top level key.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops, that's embarrasing. Fixed in 88f13ee.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack
Thanks for working on this @felixfontein! |
@gotmax23 thanks for reviewing and merging! |
No description provided.