File tree Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Expand file tree Collapse file tree 5 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 33 release :
44 types : [created]
55
6+ permissions :
7+ id-token : write # Required for OIDC
8+ deployments : write
9+ contents : read
10+
611jobs :
712 publish :
813 name : Publish
14+ environment : production
915 runs-on : ubuntu-latest
1016 env :
1117 TARGET_URL : https://pypi.org/project/patch-api/
4955
5056 - name : Publish a Python distribution to PyPI
5157 uses : pypa/gh-action-pypi-publish@release/v1
52- with :
53- user : __token__
54- password : ${{ secrets.PYPI_API_TOKEN }}
5558
5659 - name : Update deployment status (success)
5760 if : success()
Original file line number Diff line number Diff line change 1515
1616from __future__ import absolute_import
1717
18- __version__ = "2.6.0 "
18+ __version__ = "2.6.1 "
1919
2020# import ApiClient
2121from patch_api .api_client import ApiClient
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ def __init__(
9191 self .default_headers [header_name ] = header_value
9292 self .cookie = cookie
9393 # Set default User-Agent.
94- self .user_agent = "patch-python/2.6.0 "
94+ self .user_agent = "patch-python/2.6.1 "
9595 # Set default Patch-Version
9696 self .patch_version = 2
9797
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ def to_debug_report(self):
341341 "OS: {env}\n "
342342 "Python Version: {pyversion}\n "
343343 "Version of the API: 2\n "
344- "SDK Package Version: 2.6.0 " .format (env = sys .platform , pyversion = sys .version )
344+ "SDK Package Version: 2.6.1 " .format (env = sys .platform , pyversion = sys .version )
345345 )
346346
347347 def get_host_settings (self ):
Original file line number Diff line number Diff line change 1111from setuptools import setup , find_packages # noqa: H301
1212
1313NAME = "patch-api"
14- VERSION = "2.6.0 "
14+ VERSION = "2.6.1 "
1515# To install the library, run the following
1616#
1717# python setup.py install
You can’t perform that action at this time.
0 commit comments