Fixed issues with workflows

This commit is contained in:
Corey Oordt 2022-09-21 12:12:31 -05:00
parent 60374fa7f4
commit 6d55e16ace
3 changed files with 11 additions and 10 deletions

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10]
python-version: ["3.10"]
fail-fast: false
steps:

View file

@ -43,6 +43,6 @@ jobs:
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@1.5.1
with:
password: ${{ secrets.PYPI_API_TOKEN }}

View file

@ -1,24 +1,25 @@
[bumpversion]
current_version = 1.9.0
commit = True
tag = False
commit_args = --no-verify
tag = True
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\+\w+-(?P<dev>\d+))?
serialize =
{major}.{minor}.{patch}+{$USER}-{dev}
serialize =
{major}.{minor}.{patch}+{$BRANCH_NAME}-{dev}
{major}.{minor}.{patch}
message = Version updated from {current_version} to {new_version}
[metadata]
name = django-categories
version = 1.8.0
version = attr:categories.__version__
description = A way to handle one or more hierarchical category trees in django.
long_description = file:README.md
long_description_content_type = "text/markdown"
long_description_content_type = text/markdown
author = Corey Oordt
author_email = coreyoordt@gmail.com
url = http://github.com/jazzband/django-categories
classifiers =
classifiers =
Framework :: Django
[options]
@ -26,7 +27,7 @@ zip_safe = False
include_package_data = True
[options.packages.find]
exclude =
exclude =
example*
docs
build
@ -34,7 +35,7 @@ include = categories
[flake8]
ignore = D203,W503,E501
exclude =
exclude =
.git
.tox
docs