diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index c8c5fa7..79bb293 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -41,7 +41,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11" ] + python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 @@ -54,7 +54,7 @@ jobs: - uses: actions/upload-artifact@v3 if: success() || failure() with: - name: test-results-unit-python + name: test-results-unit-python-${{ matrix.python-version }} path: test-results/* compliance-copyrights: @@ -92,11 +92,10 @@ jobs: gpg_private_key: ${{ secrets.SA_GPG_PRIVATE_KEY }} passphrase: ${{ secrets.SA_GPG_PASSPHRASE }} extra_plugins: | - @google/semantic-release-replace-plugin + semantic-release-replace-plugin env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} - if: ${{ steps.semantic.outputs.new_release_published == 'true' }} - uses: splunk/pypi-publish-action@v1.0 - with: - pypi_username: ${{ secrets.PYPI_USERNAME }} - pypi_token: ${{ secrets.PYPI_TOKEN }} + run: | + poetry build + poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} diff --git a/.releaserc b/.releaserc index 86294b2..ac9c685 100644 --- a/.releaserc +++ b/.releaserc @@ -8,7 +8,7 @@ [ "@semantic-release/commit-analyzer", [ - "@google/semantic-release-replace-plugin", + "semantic-release-replace-plugin", { "replacements": [ { diff --git a/pyproject.toml b/pyproject.toml index 75e910d..0ae210b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,21 @@ name = "addonfactory_splunk_conf_parser_lib" version = "0.3.4" description = "Splunk .conf files parser" authors = ["Splunk "] +classifiers = [ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Topic :: Software Development :: Libraries :: Python Modules", + "License :: OSI Approved :: Apache Software License" +] readme = "README.md"