Skip to content

Commit

Permalink
Restore PR Condition in Version Check. (#98)
Browse files Browse the repository at this point in the history
And few updates to README and setup.py
  • Loading branch information
ustinov authored Sep 9, 2022
1 parent c74aebf commit 64ffc3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/lint_n_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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.*',
Expand Down

0 comments on commit 64ffc3f

Please sign in to comment.