Skip to content

Commit

Permalink
Merge branch 'release/0.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
aranega committed Nov 1, 2022
2 parents 2b0449b + 81d0347 commit d9716bb
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 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.1.0-dev
current_version = 0.1.0
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/upload-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Upload to PyPi

on:
push:
tags:
- [0-9]+.[0-9]+.[0-9]+
workflow_dispatch:

jobs:
upload:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"

- name: "Installs dependencies"
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine
- name: "Builds and uploads to PyPI"
run: |
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_TOKEN }}
2 changes: 1 addition & 1 deletion iguala/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
from .paths import as_path

__ALL__ = ["match", "as_matcher", "as_path", "is_not"]
__version__ = "0.1.0-dev"
__version__ = "0.1.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='iguala',
version='0.1.0-dev',
version='0.1.0',
description=("Non-linear pattern matching for Python's objects, or rexep-like for objects"),
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit d9716bb

Please sign in to comment.