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

Publish old versions #16

Closed
eggplants opened this issue Dec 2, 2024 · 9 comments
Closed

Publish old versions #16

eggplants opened this issue Dec 2, 2024 · 9 comments

Comments

@eggplants
Copy link
Member

eggplants commented Dec 2, 2024

I would like to publish unpublished versions of cli with release workflow.

@eggplants
Copy link
Member Author

For #18, I think 7.10.0 and 4.3.1 have to be re-published as 7.10.0.post0 and 4.3.1.post0.

@wing328
Copy link
Member

wing328 commented Dec 5, 2024

be re-published as 7.10.0.post0 and 4.3.1.post0.

can we avoid that?

can we do it on demand locally in our box (instead of CI) if users ask for an old version?

@eggplants
Copy link
Member Author

eggplants commented Dec 5, 2024

@wing328 User can specify:
pip install openapi-generator-cli==7.10.0

I don't think of deleting 7.10.0 and 4.3.1.

@wing328
Copy link
Member

wing328 commented Dec 5, 2024

ok. thanks for the explanation

i'll leave it up to you on how you would like to proceed

@eggplants
Copy link
Member Author

pipx install 'git+https://github.com/eggplants/openapi-generator-pip@7_10_0_test'
openapi-generator-cli version # 7.10.0
pipx uninstall openapi-generator-cli

pipx install 'openapi-generator-cli[jdk4py] @ git+https://github.com/eggplants/openapi-generator-pip@7_10_0_test'
openapi-generator-cli version # 7.10.0
pipx uninstall openapi-generator-cli

pipx install 'git+https://github.com/eggplants/openapi-generator-pip@4_3_1_test'
openapi-generator-cli version # 4.3.1
pipx uninstall openapi-generator-cli

pipx install 'openapi-generator-cli[jdk4py] @ git+https://github.com/eggplants/openapi-generator-pip@4_3_1_test'
openapi-generator-cli version # 4.3.1
pipx uninstall openapi-generator-cli

@eggplants
Copy link
Member Author

@eggplants eggplants reopened this Dec 5, 2024
@eggplants
Copy link
Member Author

Not sure if the release was successful due to a failure of the PyPI backend during the release process.
20241206_013006

@wing328
Copy link
Member

wing328 commented Dec 5, 2024

looks good according to release history: https://pypi.org/project/openapi-generator-cli/#history

will run some tests tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants