Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from 2ndQuadrant/dev/tpaexec397-packaging
Browse files Browse the repository at this point in the history
Add variable to append local version to release artifacts
  • Loading branch information
amenonsen authored Feb 28, 2022
2 parents 4891fe7 + 373b1e1 commit a7f2cb0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ansible/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
#
# This is for backwards compat. Code should be ported to get these from
# ansible.release instead of from here.
from ansible.release import __version__, __author__
from ansible.release import __version__, __tpa_version__, __author__
1 change: 1 addition & 0 deletions lib/ansible/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
__metaclass__ = type

__version__ = '2.9.27'
__tpa_version__ = 'tpa-1.0.2'
__author__ = 'Ansible, Inc.'
__codename__ = 'Immigrant Song'
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
sys.exit(1)

sys.path.insert(0, os.path.abspath('lib'))
from ansible.release import __version__, __author__
from ansible.release import __version__, __tpa_version__, __author__


SYMLINK_CACHE = 'SYMLINK_CACHE.json'
Expand Down Expand Up @@ -275,7 +275,7 @@ def get_dynamic_setup_params():
'sdist': SDistCommand,
},
name='ansible',
version=__version__,
version=__version__ + '+' + __tpa_version__,
description='Radically simple IT automation',
author=__author__,
author_email='[email protected]',
Expand Down

0 comments on commit a7f2cb0

Please sign in to comment.