Skip to content

Commit

Permalink
Bump version: 0.10.0 → 0.10.1
Browse files Browse the repository at this point in the history
Add request headers to the debug log
  • Loading branch information
arzkar committed Jul 15, 2024
1 parent dfe46f0 commit 4203c7a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .git-utils-bump.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.10.0
current_version = 0.10.1
commit = True
tag = False

Expand Down
2 changes: 1 addition & 1 deletion fichub_cli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.10.0"
__version__ = "0.10.1"
5 changes: 2 additions & 3 deletions fichub_cli/utils/fichub.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ def get_fic_metadata(self, url: str, format_type: list):
if self.debug:
logger.debug(
f"GET: {response.status_code}: {response.url}")
if self.automated:
logger.debug(
f"Headers: {response.request.headers}")
logger.debug(
f"Headers: {response.request.headers}")
break
except (requests.exceptions.ConnectionError, requests.exceptions.Timeout) as e:
if self.debug:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
description="A CLI for the fichub.net API",
long_description=long_description,
long_description_content_type="text/markdown",
version="0.10.0",
version="0.10.1",
license='Apache License',
url="https://github.com/FicHub/fichub-cli",
packages=find_packages(include=['fichub_cli', 'fichub_cli.*']),
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ def test_cli_version():

assert not result.exception
assert result.exit_code == 0
assert result.output.strip() == 'fichub-cli: v0.10.0'
assert result.output.strip() == 'fichub-cli: v0.10.1'

0 comments on commit 4203c7a

Please sign in to comment.