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

Create a shell script to automatically update the version number #69

Merged
merged 2 commits into from
Mar 16, 2022

Conversation

AliShahpurwala
Copy link
Contributor

I've created a small shell script to automatically update the version number is setup.cfg (Line 2) and setup.py (Line 12 & 13). The script requires an argument (explained at the top of the file). I've done some basic testing and it seems to be working properly.

Copy link
Collaborator

@Milind220 Milind220 left a comment

Choose a reason for hiding this comment

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

That's actually a better implementation than the script that I had in mind. I really like the fact that by taking major, minor, or patch as its argument, it also prevents someone from mistakenly skipping a version number.

Awesome!

@Milind220 Milind220 merged commit 3f7e41e into Ozon3Org:dev Mar 16, 2022
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.

Create shell script to run to automatically bump the version number in setup.cfg and setup.py
2 participants