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

Other projects: support PEP 621 and TS/JS package.json for finding version #100

Merged
merged 4 commits into from
Mar 6, 2023

Conversation

felixfontein
Copy link
Collaborator

No description provided.

src/antsibull_changelog/cli.py Show resolved Hide resolved
Comment on lines 453 to 454
if data.get('version'):
return data.get('version')
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

src/antsibull_changelog/cli.py Outdated Show resolved Hide resolved
changelogs/fragments/100-more-other-projects.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@gotmax23 gotmax23 left a comment

Choose a reason for hiding this comment

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

Ack

@gotmax23 gotmax23 merged commit f817176 into ansible-community:main Mar 6, 2023
@gotmax23
Copy link
Contributor

gotmax23 commented Mar 6, 2023

Thanks for working on this @felixfontein!

@felixfontein felixfontein deleted the more branch March 6, 2023 17:55
@felixfontein
Copy link
Collaborator Author

@gotmax23 thanks for reviewing and merging!

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.

2 participants