Skip to content

Commit

Permalink
[FIX-4] Bump version for correct PyPI package name (#8)
Browse files Browse the repository at this point in the history
* Run publish on push

Signed-off-by: aapozd <[email protected]>

* Access through secrets

Signed-off-by: aapozd <[email protected]>

* Run publish only if ref contains tag

Signed-off-by: aapozd <[email protected]>

* Bump patch version

Signed-off-by: aapozd <[email protected]>

---------

Signed-off-by: aapozd <[email protected]>
  • Loading branch information
aaletov authored Jun 10, 2024
1 parent 4542c1d commit 11761b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

publish-wheel:
runs-on: ubuntu-latest
if: github.event.action == 'create'
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags/')}}
needs:
- linters
- pytest
Expand All @@ -87,5 +87,5 @@ jobs:
$POETRY_HOME/bin/poetry --version
- name: Build and publish
run: |
$POETRY_HOME/bin/poetry config pypi-token.pypi ${{ env.PYPI_TOKEN }}
$POETRY_HOME/bin/poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
$POETRY_HOME/bin/poetry publish --build
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "open-pcc-metric"
version = "0.1.1"
version = "0.1.2"
description = ""
authors = ["aapozd <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 11761b3

Please sign in to comment.