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

Automatic bump version upon release #540

Open
kavitharaju opened this issue Apr 13, 2023 · 2 comments
Open

Automatic bump version upon release #540

kavitharaju opened this issue Apr 13, 2023 · 2 comments
Labels
documentation enhancement New feature or request

Comments

@kavitharaju
Copy link
Collaborator

The version tag of the release should be visible on the Swagger Docs
For that it is set here in code

Which requires manual changes before each release.
To avoid that some automation could be used.

  • Automatic bump version upon release which will make this code change on github actions (https://pypi.org/project/bump2version/)
  • Setting this value using ENV variable or some such places which will ensure it points to the latest release number.
@kavitharaju kavitharaju added enhancement New feature or request documentation labels Apr 13, 2023
@kavitharaju
Copy link
Collaborator Author

Having an API to get the current version will be good too.

@kavitharaju
Copy link
Collaborator Author

This fails when run on version-2 branch of vachan-api repo because its protected and the action bot is not able to push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant