diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index bab590d..fd1d197 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -22,7 +22,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python uses: actions/setup-python@v5.1.0 with: @@ -54,7 +53,7 @@ jobs: run: python -m build - name: Publish package to PyPI - if: ${{ github.event_name == 'pull_request' && github.head_ref == '/refs/heads/main' && github.event.action == 'closed' && github.event.pull_request.merged == true }} + if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }} uses: pypa/gh-action-pypi-publish@release/v1 with: skip-existing: true diff --git a/pyproject.toml b/pyproject.toml index 37da49f..7be35ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,8 +7,8 @@ packages = { find = { where = ["."] } } [project] name = "opencepk-lib-python-common" -version = "1.0.0" -description = "Python package and pre-commit-hook for finding and replacing string(s) in file(s)." +version = "1.1.0" +description = "Common Python opencepk packages." readme = "README.md" license = { text = "GPLv3" } authors = [{name = "OpenCEPK Open Cloud Engineering Platform Kit", email = "opencepk@gmail.com"}]