Skip to content

Commit

Permalink
Add version
Browse files Browse the repository at this point in the history
  • Loading branch information
faloker committed Feb 23, 2020
1 parent 30b025c commit 7989636
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions fastcli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
__name__ = "wallarm-fast-cli"
__version__ = "1.0.0"
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
import os
from setuptools import setup
from fastcli import __version__, __name__

with open('README.md', 'r') as f:
long_description = f.read()

if os.environ.get('CI_COMMIT_TAG'):
version = os.environ['CI_COMMIT_TAG']
else:
version = os.environ['CI_JOB_ID']

setup(
name='wallarm-fast-cli',
version=version,
name=__name__,
version=__version__,
description='A Wallarm FAST CLI tool for executing tests and getting results from the command line.',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 7989636

Please sign in to comment.