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

Versioning tool should handle both _version.py and version.py #10365

Merged
merged 2 commits into from
Mar 19, 2020

Conversation

praveenkuttappan
Copy link
Member

Version increment tool fails now if version is maintained in version.py. Tool is currently checking only for _version.py file name and that's causing the issue, PR is to look for "version.py" file as well in addition to _version.py file name.

@adxsdk6
Copy link

adxsdk6 commented Mar 18, 2020

Can one of the admins verify this patch?

@praveenkuttappan praveenkuttappan linked an issue Mar 18, 2020 that may be closed by this pull request
danieljurek
danieljurek previously approved these changes Mar 18, 2020
Copy link
Member

@danieljurek danieljurek left a comment

Choose a reason for hiding this comment

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

Chatting offline with @praveenkuttappan this change is necessary because autorest does not generate _version.py files and there is every reason to be able to support all packages we release. 👍

eng/versioning/version_shared.py Show resolved Hide resolved
scbedd
scbedd previously approved these changes Mar 18, 2020
Copy link
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

LGTM

@praveenkuttappan praveenkuttappan dismissed stale reviews from scbedd and danieljurek via b2ba7ce March 18, 2020 20:30
@praveenkuttappan praveenkuttappan merged commit 92a7b50 into Azure:master Mar 19, 2020
@praveenkuttappan praveenkuttappan deleted the versioninng_tool_fix branch March 19, 2020 17:13
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.

Versioning tool is not handling version.py
4 participants