Skip to content

Commit

Permalink
Fix/correct pypi version (#5)
Browse files Browse the repository at this point in the history
* Use correct Pypi publish version

* Correct versions for checkout and setup

* update bumpversion config

* Bump version: 0.0.1 → 1.0.0
  • Loading branch information
Ardjan-Aalberts authored May 2, 2023
1 parent 36fe119 commit 2b77e00
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.0
current_version = 1.0.0
commit = true
tag = true
tag_name = {new_version}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install build requirements
run: python -m pip install wheel
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_password }}
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
version = "0.0.1"
version = "1.0.0"
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down Expand Up @@ -139,7 +139,7 @@
# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#
# html_title = u'Wagtail Site Inheritance v0.0.1'
# html_title = u'Wagtail Site Inheritance v1.0.0'

# A shorter title for the navigation bar. Default is the same as html_title.
#
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

setup(
name="wagtail-site-inheritance",
version="0.0.1",
version="1.0.0",
description="Site Inheritance for Wagtail",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion src/wagtail_site_inheritance/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _

__version__ = "0.0.1"
__version__ = "1.0.0"


class WagtailSiteInheritanceAppConfig(AppConfig):
Expand Down

0 comments on commit 2b77e00

Please sign in to comment.