Skip to content

Commit

Permalink
remove tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
amnda-d committed May 14, 2018
1 parent eea559a commit f34e471
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:

steps:
- checkout
- run:
name: verify git tag vs. version
command: |
python3 -m venv venv
. venv/bin/activate
python setup.py verify
- run:
name: init .pypirc
command: |
Expand Down
17 changes: 0 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.install import install
from codecs import open
Expand All @@ -11,19 +10,6 @@
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()

class VerifyVersionCommand(install):
"""Custom command to verify that the git tag matches our version"""
description = 'verify that the git tag matches our version'

def run(self):
tag = os.getenv('CIRCLE_TAG')

if tag != VERSION:
info = "Git tag: {0} does not match the version of this app: {1}".format(
tag, VERSION
)
sys.exit(info)

setup(
name='sideeye',
version=VERSION,
Expand Down Expand Up @@ -61,8 +47,5 @@ def run(self):

package_data={
'sideeye': ['default_config.json'],
},
cmdclass={
'verify': VerifyVersionCommand,
}
)

0 comments on commit f34e471

Please sign in to comment.