Skip to content

Commit

Permalink
Stepped to v2.5.0
Browse files Browse the repository at this point in the history
Added preliminary .github/workflows
  • Loading branch information
theriverman committed Dec 11, 2020
1 parent 5f24128 commit f5918e8
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on: push

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install pypa/build
run: >-
python -m
pip install
build wheel
--user
- name: Build a binary wheel and a source tarball
run: >-
python
setup.py
bdist_wheel
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_TEST }}
repository_url: https://test.pypi.org/legacy/
# - name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.PYPI_DJANGO_MINIO_BACKEND }}
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

CURRENT_GIT_TAG = 'v2.4.0'
CURRENT_GIT_TAG = 'v2.5.0'
year = datetime.datetime.now().year

print(f'setup.py :: Using git tag {CURRENT_GIT_TAG}')
Expand All @@ -27,7 +27,7 @@
author_email='kristof@daja.hu',
install_requires=[
'Django>=2.2.2',
'minio>=4.0.9',
'minio>=4.0.9,<7'
],
classifiers=[
'Environment :: Web Environment',
Expand Down

0 comments on commit f5918e8

Please sign in to comment.