Skip to content

Commit 17b0244

Browse files
committed
ci added
1 parent eec5117 commit 17b0244

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ jobs:
2525
python-version: '3.x'
2626
- name: Install dependencies
2727
run: |
28+
VERSION=${{ github.event.release.tag_name }}
29+
sed -ie "s/version = .*/version = $VERSION/" setup.cfg
2830
python -m pip install --upgrade pip
2931
pip install build
3032
- name: Build package
3133
run: python -m build
3234
- name: Publish package
33-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
35+
uses: pypa/gh-action-pypi-[email protected]
3436
with:
3537
user: __token__
3638
password: ${{ secrets.PYPI_API_TOKEN }}

setup.cfg

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
2-
name = django-iris
3-
version = 0.1.0
2+
name = django_iris
3+
version = 0.1.6
44
url = https://github.com/caretdev/django-iris
55
maintainer = CaretDev
66
maintainer_email = [email protected]
@@ -16,11 +16,12 @@ classifiers =
1616
Operating System :: OS Independent
1717
Programming Language :: Python
1818
Programming Language :: Python :: 3
19+
Programming Language :: Python :: 3.8
1920
Programming Language :: Python :: 3.9
2021
Programming Language :: Python :: 3.10
2122
project_urls =
2223
Source = https://github.com/caretdev/django-iris
2324
Tracker = https://github.com/caretdev/django-iris/issues
2425

2526
[options]
26-
python_requires = >=3.9
27+
python_requires = >=3.8

0 commit comments

Comments
 (0)