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

Fix dynamic versioning not working in the CI #89

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

lebrice
Copy link
Collaborator

@lebrice lebrice commented Jan 18, 2024

During the recent release, the package version was 0.0.0 in the GitHub CI:
https://github.com/mila-iqia/milatools/actions/runs/7572023233/job/20621010227#step:6:36

This is the same issue as in mtkennerly/poetry-dynamic-versioning#145

I made the release myself with poetry publish --build on my local machine, although in retrospect I probably shouldn't have done that.

This PR is an attempt to fix the issue with the dynamic versioning in the GitHub CI so that the publishing it actually taken care of by GitHub Actions for the next release. I'm trying to do this by adapting the solution proposed in mtkennerly/poetry-dynamic-versioning#145 (comment) by installing the dynamic versioning plugin explicitly in the CI.

I find it surprising that doing poetry install wouldn't also install the poetry plugins though 🤔

@lebrice lebrice merged commit 9c4f213 into master Jan 22, 2024
32 checks passed
@lebrice lebrice deleted the fix_poetry_dynamic_versioning branch January 31, 2024 17:09
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