File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,9 @@ before_script:
1919 - python -m pydocstyle
2020script :
2121 - python -m unittest discover
22-
22+ - if [[ "${TRAVIS_PULL_REQUEST}" != "false" ]]; then
23+ test -n "$(git diff -G version= $TRAVIS_COMMIT_RANGE setup.py)";
24+ fi
2325deploy :
2426 - provider : pypi
2527 user : wavefront-cs
Original file line number Diff line number Diff line change @@ -494,5 +494,12 @@ total_failures = wavefront_sender.get_failure_count()
494494
495495# # How to Get Support and Contribute
496496
497+ * When submitting changes, be sure to increment the version number in setup.py.
498+ The version number is documented as such in setup.py.
499+ We follow semantic versioning. For bug fixes, increment the patch version
500+ (last number). For backward compatible changes to the API , update the
501+ minor version (second number), and zero out the patch version. For breaking
502+ changes to the API , increment the major version (first number) and zero out
503+ the minor and patch versions.
497504* Reach out to us on our public [Slack channel](https:// www.wavefront.com/ join- public- slack).
498505* If you run into any issues, let us know by creating a GitHub issue.
Original file line number Diff line number Diff line change 1414
1515setuptools .setup (
1616 name = 'wavefront-sdk-python' ,
17- version = '1.8.1' ,
17+ version = '1.8.2' , # The version number. Update with each pull request.
1818 author = 'Wavefront by VMware' ,
1919 author_email = 'chitimba@wavefront.com' ,
2020 url = 'https://github.com/wavefrontHQ/wavefront-sdk-python' ,
You can’t perform that action at this time.
0 commit comments