From 64ffc3fbccfa7d0b3c59b51972e0705f9267df0b Mon Sep 17 00:00:00 2001 From: Artem Ustinov Date: Thu, 8 Sep 2022 17:27:01 -0700 Subject: [PATCH] Restore PR Condition in Version Check. (#98) And few updates to README and setup.py --- .github/actions/lint_n_test/action.yml | 2 +- README.md | 2 +- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/lint_n_test/action.yml b/.github/actions/lint_n_test/action.yml index b66108c..cf9699c 100644 --- a/.github/actions/lint_n_test/action.yml +++ b/.github/actions/lint_n_test/action.yml @@ -42,7 +42,7 @@ runs: run: python -m unittest discover shell: bash - name: Check Version Updated in setup.py Before Merging - # if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' }} run: | test -n "$(git diff -G version= origin/master HEAD -- setup.py)" || \ exit "Package version in setup.py must be incremented before merge." diff --git a/README.md b/README.md index 82caecf..508b9de 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # wavefront-sdk-python -[![travis build status](https://travis-ci.com/wavefrontHQ/wavefront-sdk-python.svg?branch=master)](https://travis-ci.com/wavefrontHQ/wavefront-sdk-python) +[![Build Status](https://github.com/wavefrontHQ/wavefront-sdk-python/actions/workflows/main.yml/badge.svg)](https://github.com/wavefrontHQ/wavefront-sdk-python/actions) [![image](https://img.shields.io/pypi/v/wavefront-sdk-python.svg)](https://pypi.org/project/wavefront-sdk-python/) [![image](https://img.shields.io/pypi/l/wavefront-sdk-python.svg)](https://pypi.org/project/wavefront-sdk-python/) [![image](https://img.shields.io/pypi/pyversions/wavefront-sdk-python.svg)](https://pypi.org/project/wavefront-sdk-python/) diff --git a/setup.py b/setup.py index fd59a52..c3fc500 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setuptools.setup( name='wavefront-sdk-python', - version='1.8.9', # The version number. Update with each pull request. + version='1.8.10', # The version number. Update with each pull request. author='Wavefront by VMware', url='https://github.com/wavefrontHQ/wavefront-sdk-python', license='Apache-2.0', @@ -27,10 +27,10 @@ ], classifiers=[ 'License :: OSI Approved :: Apache Software License', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', ], include_package_data=True, packages=setuptools.find_packages(exclude=('*.tests', '*.tests.*',