Skip to content

Commit ae7a6af

Browse files
committed
Correctly commit files that get changed when building new version
1 parent 5cb1bff commit ae7a6af

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
run: poetry build
4141
- name: Commit and push changes
4242
run: |
43-
git add ynab/configuration.py ynab/api_client.py ynab/__init__.py pyproject.toml openapi-generator-config.yaml && git diff-index --quiet HEAD || git commit -m 'Bumping version for ${{ steps.bump_version.outputs.new_version }}'
43+
git add ynab/configuration.py ynab/api_client.py ynab/__init__.py pyproject.toml openapi-generator-config.yaml
44+
git commit -m 'Bumping version for ${{ steps.bump_version.outputs.new_version }}'
4445
git push gh-origin HEAD:main
4546
- name: Publish to PyPI
4647
env:

ynab/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.3.1"
17+
__version__ = "1.4.0"
1818

1919
# import apis into sdk package
2020
from ynab.api.accounts_api import AccountsApi

ynab/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/1.3.1/python'
93+
self.user_agent = 'OpenAPI-Generator/1.4.0/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

ynab/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ def to_debug_report(self) -> str:
505505
"OS: {env}\n"\
506506
"Python Version: {pyversion}\n"\
507507
"Version of the API: 1.74.0\n"\
508-
"SDK Package Version: 1.3.1".\
508+
"SDK Package Version: 1.4.0".\
509509
format(env=sys.platform, pyversion=sys.version)
510510

511511
def get_host_settings(self) -> List[HostSetting]:

0 commit comments

Comments
 (0)