Skip to content

Commit

Permalink
Bump version and adjust publishing rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefmolin committed Jan 17, 2024
1 parent 25a0a6a commit 1b57686
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '.rc') # only publish releases to PyPI on tag pushes
if: startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-rc') # only publish releases to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
publish-to-testpypi:
name: Publish Python 🐍 distribution 📦 to TestPyPI
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref, '.rc') # only publish release candidates to TestPyPI on tag pushes
if: startsWith(github.ref, 'refs/tags/') && contains(github.ref, '-rc') # only publish release candidates to TestPyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Add the following to your `.pre-commit-config.yaml` file:

```yaml
- repo: https://github.com/stefmolin/exif-stripper
rev: 0.1.0
rev: 0.1.1
hooks:
- id: strip-exif
```
2 changes: 1 addition & 1 deletion src/exif_stripper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""EXIF stripper."""

__version__ = '0.1.1.rc'
__version__ = '0.1.1'

0 comments on commit 1b57686

Please sign in to comment.