Skip to content

Commit

Permalink
Fix deploy (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-ls authored Mar 16, 2022
1 parent a243783 commit fc61e2e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .bandit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bandit]
exclude: ./.eggs/
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,13 @@ jobs:
run: make install && python3 -m pip install build

- name: Build package
env:
RELEASE_VERSION: ${{ steps.release.outputs.version }}
run: python3 -m build -s

- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: barterdude-{{ steps.release.outputs.version }}.tar.gz
path: './dist/barterdude-{{ steps.release.outputs.version }}.tar.gz'
name: barterdude-${{ steps.release.outputs.version }}.tar.gz
path: 'dist/barterdude-${{ steps.release.outputs.version }}.tar.gz'

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -88,8 +86,8 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: barterdude-{{ steps.release.outputs.version }}.tar.gz
path: './dist/barterdude-{{ steps.release.outputs.version }}.tar.gz'
name: barterdude-${{ steps.release.outputs.version }}.tar.gz
path: 'dist/barterdude-${{ steps.release.outputs.version }}.tar.gz'

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[metadata]
description-file = README.md
description_file = README.md
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from setuptools import setup, find_packages

libs = [] # if need extra libs
Expand All @@ -21,7 +20,6 @@

setup(
name="barterdude",
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 All @@ -30,6 +28,8 @@
include_package_data=True,
url='https://github.com/olxbr/BarterDude/',
download_url='https://github.com/olxbr/BarterDude/archive/master.zip',
use_scm_version=True,
setup_requires=['setuptools_scm'],
install_requires=requirements,
extras_require=extra,
classifiers=[
Expand Down

0 comments on commit fc61e2e

Please sign in to comment.