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

Use hatch-vcs for versioning pyodide-build #4

Merged
merged 5 commits into from
Jun 21, 2024

Conversation

ryanking13
Copy link
Member

Instead of updating the version number manually, this use hatch-vcs and use git metadata to handle the version. Just same as micropip and pytest-pyodide.

Copy link
Member

@hoodmane hoodmane left a comment

Choose a reason for hiding this comment

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

Looks fine to me. I don't really know how this hatch stuff works.

@ryanking13
Copy link
Member Author

As far as I know, It just calculates the version by climbing up the git commit-tree and looking at the version of the closest tag.

@ryanking13 ryanking13 merged commit 5b3f4bb into pyodide:main Jun 21, 2024
4 checks passed
@ryanking13 ryanking13 deleted the hatch-versioning branch June 21, 2024 02:08
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