Skip to content

Commit

Permalink
updated version ref to BUILD_VERSION to be referenced in CICD package…
Browse files Browse the repository at this point in the history
… jobs
  • Loading branch information
codemation committed Jul 20, 2021
1 parent ee764c5 commit 576b9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Package & Test PyPI Installation
run: |
export NEXTVERSION=$(pip -qqq download easyrpc && ls easyrpc*.whl | sed 's/-/" "/g' | awk '{print "(" $2 ")"}' | python nextbuild.py)
sed -i 's/NEXTVERSION/'$NEXTVERSION'/g' setup.py
sed -i 's/BUILD_VERSION/'$NEXTVERSION'/g' setup.py
python setup.py bdist_wheel
export PYQL_PACKAGE=$(pwd)/dist/easyrpc-$NEXTVERSION-py3-none-any.whl
pip install $(echo -n $PYQL_PACKAGE)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
long_description = fh.read()
setuptools.setup(
name='easyrpc',
version='PYQLVERSION',
version='BUILD_VERSION',
packages=setuptools.find_packages(include=['easyrpc', 'easyrpc.tools'], exclude=['build']),
author="Joshua Jamison",
author_email="joshjamison1@gmail.com",
Expand Down

0 comments on commit 576b9eb

Please sign in to comment.