Skip to content

Commit

Permalink
Prepare Release v2.202.2
Browse files Browse the repository at this point in the history
Prepare Release and Upgrade to Trusted Publishers.
  • Loading branch information
ustinov committed Sep 20, 2023
1 parent a1002f5 commit aa40aa9
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish_on_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ jobs:
prepare:
uses: ./.github/workflows/package.yml
publish:
environment: test
needs: prepare
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- name: Publish the Package on TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
5 changes: 3 additions & 2 deletions .github/workflows/publish_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ jobs:
prepare:
uses: ./.github/workflows/package.yml
publish:
environment: release
needs: prepare
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- name: Publish the Package
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion .swagger-codegen/config.jsone
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"gitUserId": "wavefrontHQ",
"packageName": "wavefront_api_client",
"packageUrl": "https://github.com/wavefrontHQ/python-client",
"packageVersion": "2.202.2"
"packageVersion": "2.201.1"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: v2
- Package version: 2.202.0
- Package version: 2.202.2
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "wavefront-api-client"
VERSION = "2.202.0"
VERSION = "2.202.2"
# To install the library, run the following
#
# python setup.py install
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Swagger-Codegen/2.202.0/python'
self.user_agent = 'Swagger-Codegen/2.202.2/python'
self.client_side_validation = configuration.client_side_validation

def __del__(self):
Expand Down
2 changes: 1 addition & 1 deletion wavefront_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v2\n"\
"SDK Package Version: 2.202.0".\
"SDK Package Version: 2.202.2".\
format(env=sys.platform, pyversion=sys.version)

0 comments on commit aa40aa9

Please sign in to comment.