Skip to content

Commit

Permalink
Fix deploy (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-ls authored Mar 15, 2022
1 parent 0317b83 commit da0e459
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ jobs:
with:
python-version: 3.7

- name: Install project dependencies
run: make install && python3 -m pip install build

- name: Choose tag or commit as version
id: release
uses: olxbr/[email protected]

- name: Install project dependencies
env:
RELEASE_VERSION: ${{ steps.release.outputs.version }}
run: make install && python3 -m pip install build

- name: Build package
env:
RELEASE_VERSION: ${{ steps.release.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

setup(
name="barterdude",
version=os.getenv('RELEASE_VERSION', 'DYNAMIC'),
version=os.getenv('RELEASE_VERSION'),
description="Message exchange engine to build pipelines using brokers like RabbitMQ",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit da0e459

Please sign in to comment.