diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index ca05f68e..78986767 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -82,6 +82,7 @@ jobs: - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 @@ -138,7 +139,7 @@ jobs: SPLUNK_HOME=/opt/splunk/ poetry run pytest --junitxml=test-results/results.xml -v tests/integration - uses: actions/upload-artifact@v3 with: - name: test-splunk test-results + name: test-splunk path: test-results publish: @@ -148,7 +149,7 @@ jobs: - pre-commit - semgrep - run-unit-tests -# - test-splunk + - test-splunk runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -171,11 +172,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 }} \ No newline at end of file + run: | + poetry build + poetry publish -n -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_TOKEN }} diff --git a/.releaserc b/.releaserc index 63927cd4..64fa1f8b 100644 --- a/.releaserc +++ b/.releaserc @@ -9,7 +9,7 @@ [ "@semantic-release/commit-analyzer", [ - "@google/semantic-release-replace-plugin", + "semantic-release-replace-plugin", { "replacements": [ { diff --git a/pyproject.toml b/pyproject.toml index 06cff938..5325c4b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,21 @@ description = "The Splunk Software Development Kit for Splunk Solutions" authors = ["Splunk "] license = "Apache-2.0" repository = "https://github.com/splunk/addonfactory-solutions-library-python" +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" +] [tool.poetry.dependencies] python = "^3.7"