diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 25bdc308..57c0f01e 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -167,6 +167,13 @@ jobs: # Very important: semantic-release won't trigger a tagged # build if this is not set false persist-credentials: false + - name: Generate GitHub App Token + id: app-token + uses: actions/create-github-app-token@v3 + with: + client-id: ${{ secrets.GH_APP_CLIENT_ID }} + private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} @@ -184,7 +191,7 @@ jobs: extra_plugins: | semantic-release-replace-plugin env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN_ADMIN }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} - if: ${{ steps.semantic.outputs.new_release_published == 'true' }} run: | poetry build diff --git a/pyproject.toml b/pyproject.toml index 41af642e..fb7bd86f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ [tool.poetry] name = "solnlib" -version = "8.0.0-beta.1" +version = "8.0.0" description = "The Splunk Software Development Kit for Splunk Solutions" authors = ["Splunk "] license = "Apache-2.0" diff --git a/solnlib/__init__.py b/solnlib/__init__.py index c2f27a1a..6c061e43 100644 --- a/solnlib/__init__.py +++ b/solnlib/__init__.py @@ -55,4 +55,4 @@ "utils", ] -__version__ = "8.0.0-beta.1" +__version__ = "8.0.0"